How to get the width of an image in image.php

Hello fellow-zenphoto users!

I have a question that has been making me really go nuts because of my blog redesign and thus I changed my theme accordingly!
My question (for design matters): I want to know the width of an image displayed in the image.php file. I haven't been able to figure this out, so maybe you can help me out with this.

I tried <? echo getWidth(); ?> but it's not working. Since the width can change, let's assume you entered a 640 px max width in the administration panel and you upload a 400 px file, it still gets displayed width 400px... SO, is there a remedy for this?

Cu philipp

Comments

Sign In or Register to comment.