ZenphotoCMS Forum
Changing Image Width (zpFocus) - 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: Changing Image Width (zpFocus) (/thread-7679.html)



Changing Image Width (zpFocus) - vrtisworks - 2010-09-30

I just installed zenphoto., with the zenfocus theme. www.dennisrotmanbldr.com. Everything is working fine, except for one problem. When I view an image, the width seems to be stuck at 600.

I've changed the size in the theme, cleared the image cache and it still stays at 600. If I use Firebug to change the URL and the parameters to i.php, then it will return the properly sized image.

I've tried tracing through the code... even did a search for '600' and couldn't figure where it was coming from..

Any ideas?

Thanks...




Changing Image Width (zpFocus) - acrylian - 2010-09-30

As this is an unsupported theme I don't know anything about it. It might override any option for layout reasons. In that case you will have to modify the theme.

As told others if you have questions about 3rd party stuff put that name in the titlte of your thread so its authors might notice it.




Changing Image Width (zpFocus) - vrtisworks - 2010-10-01

Consider my knucles rapped... ~:-(

Can somebody edit the title to include 'zpfocus'?

I did find the bug in it. The first line of header.php has some 'extra' code that apparently got pasted in...
`

if (!defined('WEBPATH')) die(); $firstPageImages = normalizeColumns('2', '3'); setOption('image_size',600,false); setOption('image_use_side','longest',false);

`

I commented this out, and the image was resized properly...

Thanks for you suggestion.




Changing Image Width (zpFocus) - acrylian - 2010-10-01

Sadly it is not possible to edit the thread title afterwards.




Changing Image Width (zpFocus) - kagutsuchi - 2010-10-01

If you edit the first post, you can change the title.




Changing Image Width (zpFocus) - acrylian - 2010-10-01

Ah thanks, had forgotten that!