ZenphotoCMS Forum
Weird behaviour getFullWidth / getFullHeight - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Weird behaviour getFullWidth / getFullHeight (/thread-4645.html)



Weird behaviour getFullWidth / getFullHeight - PashaXIII - 2009-02-07

Hi again.

I need to display full picture resolution under it. And I use this two function in image.php, like this:

`[b]Resolution: [/b]<?php echo getFullWidth(); ?>x<?php echo getFullHeight(); ?>`

BUT... it works fine on localhost (Windows) but on Debian server it display wrong resolution.

example: 768x1024 instead of correct 640x480 on localhost.

Is there exist any solution to fix it?


Weird behaviour getFullWidth / getFullHeight - PashaXIII - 2009-02-08

Sorry, I forgot to add example:

http://www.miliwoman.com/Israel/Army/military_woman_israel_army_000043.jpg.html

Resolution: 374x473

but real is 600px × 450px

How to get the correct resolution of full picture?


Weird behaviour getFullWidth / getFullHeight - sbillard - 2009-02-08

You should try this on an unmodified version of zenphoto.


Weird behaviour getFullWidth / getFullHeight - PashaXIII - 2009-02-09

Thanks but can you give a hint where I can search problem?