Hello,
I was using
`
echo '
';
`
to display thumbs (180 pixels) on my website, but outside the zenphoto install.
Now, I've made some changes (add an iphone theme with the hack in functions.php) and I have multiples thumbs files in the cache folder: 1_2010_85_thumb.jpg, 1_2010_160_thumb.jpg, 1_2010_180_thumb.jpg, 1_2010_475_cw475_ch475_thumb.jpg
Now the php code above return the xxxx_85_thumb.jpg thumb files, but I still want the xxx_180_thumb.jpg file
Any idea ( maybe a size parameter, like "&s=thumb&size=180" ?
Comments
Since you are outside of the Zenphoto context the "thumbnail" size that will be fetched from the options list is determined by what ever was the last theme to "execute" so you can't count on it when there si more than one theme.
You will have to code the i.php parameters specifically to get the size you want.
Thanks !