Jump to content

Obtain image width/height without opening


bpops

Recommended Posts

I've been trying to answer question all day, so I'm going to ask one of my own:

 

Is there any way to obtain the width and height of an image WITHOUT opening it up?

 

The idea here is that I want to display a lot of images (all stored on my server), and I want to place them on the page depending on their size. I fear opening them each up will take too much time.

 

Any answers or opinions appreciated.

Link to comment
https://forums.phpfreaks.com/topic/92340-obtain-image-widthheight-without-opening/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.