Member
Member
mudisoft   2008-05-06, 09:12
#1
Hello again!

I'm slowly getting to know this script, but I'm stuck on something... I wonder how can I check the size of my image files (the width of the uploaded *.jpg). I couldn't find a function that handles that, but there should be some way...
My idea is to write the following kind of script:
`<?php

if ($imagewidth > $value) {

// put tumbnail linked to full size

} else {

// print image without link to it

}

?>`

Best regards,
mudisoft
Administrator
Administrator
acrylian   2008-05-06, 09:31
#2
I don'T understand what exactly you want to do. Please take the time to look at our functions guide:
http://www.zenphoto.org/documentation-official

It's all there:
http://www.zenphoto.org/documentation-official/zenphoto/_template-functions.php.html#functiongetFullWidth
http://www.zenphoto.org/documentation-official/zenphoto/_template-functions.php.html#functiongetFullHeight
Member
Member
mudisoft   2008-05-06, 11:41
#3
Zenphoto is the number one for support. Thanks! Exactly what I needed. I searched for a different word and missed the function.
Nvm
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.