Hi,
Here is an example by Antti Kupila of how to get the image size without loading it. A good use to use this script if for example to give the specific size of the box that will contain the image, or for example on a gallery, you can show to the end user the real image size, just after the thumbnail pic which is smaller.
You can download the class file here and the class example here.
Brgds,
CP
| Copy and Paste the code below | |
| Email and IM | |
| Websites | |
| Forums | |
follow:
June 7th, 2009 at 1:46 pm
Find a combined class using Antti Kupila’s class here:
http://www.emstris.com/2009/05/extracting-binary-info/