Member
Member
stevenew   2009-04-01, 20:29
#1

Updated to 1.2.4 on my 3 zenphoto installations. Noticed on one of the installs, the first sub album thumbs are being rendered cropped square 95px even though the rest of the thumbs are full image port/land 128px as they should be.
I see that the sub album thumb is named cp1.jpg_w95_h95_cw95_ch95_thumb.jpg.

Crop is unchecked, thumb size is set to 128px

I don't remember it being like this before?
How can I get these thumbs to display the same as the others?

This is my hierarchy:
main index/sub albums/sub albums/images

Thanks

Steve

Member
Member
sbillard   2009-04-02, 01:56
#2

Is this the same install that is having the session problems?

Do you by chance have any album theme active?

Administrator
Administrator
acrylian   2009-04-02, 08:57
#3

What theme do you use? The zenpage-default theme for example uses hardcoded album thumb sizes for layout reasons.

Member
Member
stevenew   2009-04-02, 09:11
#4

Thanks for the replies,

Yes this is the same install as the sessions problem.

Yes I am using the zenpage-default theme.

Is it possible to change the hardcoded album thumb sizes, if so where?

Thanks

Administrator
Administrator
acrylian   2009-04-02, 09:23
#5

Sure. Take a look at the next_album() loops on gallery.php and album.php. Note that you also need to change the css otherwise the album title headlines will be missplaced.

Member
Member
stevenew   2009-04-02, 10:59
#6

acrylian,

Sorry I don't understand!

I looked at the next_album() loops what exactly am I meant to put in them?

'w_h_cw_ch_thumb' by any chance?

Are the album thumb sizes set in gallery.php & album.php or in the CSS?

Also where is the crop setting for them, my main index thumbs are not cropped or resized which is what I want for the album thumbs.

Ah.... is cw & ch crop width & height?

Thanks

Administrator
Administrator
acrylian   2009-04-02, 11:54
#7

Zenpage-default theme's gallery.php uses just the normal album thumb function that is set by the admin options:
Line 35: Actually I meant to use the same there as on album.php which I admit to have forgotten. This is on album.php: Line 34:

If you don't have you should review the theming tutorial and look at the functions guide.

[i]Ah.... is cw & ch crop width & height?[/i]
Yes, details on that are on top of zp-core/i.php

Member
Member
stevenew   2009-04-02, 12:27
#8

Thanks acrylian

I just replaced in album.php with
now all my thumbs have the same size as from the admin settings. I have modified the css so the thumb text falls under the thumb any so its all looking good.

Thanks again

Steve

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