Member
Member
drsprite   2013-06-21, 12:59
#1

Drawing a blank here, but I can't find where the thumbnail sizes are set. I need thumbnails that are about 300px wide, not 100px. Can someone please point me in the right direction?

Administrator
Administrator
acrylian   2013-06-21, 13:05
#2

Depends on the theme which can decide to use the default sizes set on the theme options or override those with specific ones on the theme itself.

Member
Member
drsprite   2013-06-21, 13:46
#3

Well the theme options show it locked at 100 and it's grayed out, but in themeoptions.php, it shows this. So I'm still a bit confused as to where the 100 is defined.

setThemeOption('thumb_size',168,null,'zpmasonry');

Administrator
Administrator
acrylian   2013-06-21, 14:16
#4

It is greyed out because the theme sets it itself. So you have to look on the theme pages. We have a lot of functions to set the sizes on the layout which - as said - override any options. There are various layout reasons why you would want to do that, one would be responsive behavior which often works with columns so the sizes cannot be changed.

Member
Member
drsprite   2013-06-21, 14:37
#5

I still think there's something overriding the theme, unless I'm totally clueless (which very well could be the case). Everything in functions.php, themeoptions.php, and so on for zpMasonry shows the album thumbs should be more than 100px, yet on album view, I'm only getting 100px using:

``

Administrator
Administrator
acrylian   2013-06-21, 14:44
#6

You have to look where the thumbs are printed. Which is mostly album.php for example. Sorry, again not familiar with the theme.

Member
Member
drsprite   2013-06-21, 15:00
#7

Right now it's litteraly the code I pasted above. Perhaps I need to look into printCustomSizedImage

Member
Member
drsprite   2013-06-21, 15:25
#8

This did the trick for me to get 280px wide thumbs. Thanks!
``

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