Member
Member
vrtisworks   2010-09-30, 01:47
#1

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...

Administrator
Administrator
acrylian   2010-09-30, 08:48
#2

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.

Member
Member
vrtisworks   2010-10-01, 00:01
#3

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.

Administrator
Administrator
acrylian   2010-10-01, 14:10
#4

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

Member
Member
kagutsuchi   2010-10-01, 16:24
#5

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

Administrator
Administrator
acrylian   2010-10-01, 16:45
#6

Ah thanks, had forgotten that!

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.