How can I find the width of an image using PHP?

前端 未结 7 1691
伪装坚强ぢ
伪装坚强ぢ 2020-12-10 15:40

I was wondering how can I find the width of an image using php.

7条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-10 16:19

    Use the GD libraries imagesx function, take a look at the manual page here.

提交回复
热议问题