Quantcast
Channel: Zenphoto forum
Viewing all articles
Browse latest Browse all 2917

Epsilon on "Find Original Height And Width Of Album Thumbnail"

$
0
0

I need to find the original height/width of the thumbnail image for the current album so that I can work out the images aspect ratio.

I've tried getDefaultHeight/getDefaultWidth but I can't get them to return a value.

I'm guessing I need to pass an image into these functions as no image is selected by default (like they were in my next_image loop) but I can't figure out how to get it working.

Any help would be appreciated.


Viewing all articles
Browse latest Browse all 2917

Trending Articles