Member
Member
ryan_nerone   2011-01-18, 09:24
#1

I have had this issue previously, but just cannot seem to resolve it using the methods mentioned before. I would like to have thumbnails on my index page that are 300x150. However, they are currently taking the value from Admin>Options>Theme>Thumb Size which is set at 75 pixels right now. From my understanding, this value did not matter when using the code listed below for my index.php

`

Administrator
Administrator
acrylian   2011-01-18, 11:03
#2

For such custom thumbs there is a set of CustomSizeImage functions. Please see the documentation. You will have to add them to your theme with the appropiate values. Probably you can just copy that from your album page.

The custom crop feature is still there and can be accessed on each image on the backend. It is however based on the default size values added on the backend. I if you use CustomSize functions it will not be applicable as these override the default values.

Member
Member
ryan_nerone   2011-01-18, 11:39
#3

Perhaps I need to take my steps more slowly. I pasted the Album List section in the index.php, but did not get the 300x150 result. Then I read your post, tried again and it worked. Well, thanks for that.

Now, to follow up on the custom crop, perhaps the reason I did not have the CustomSizeImage function in the index.php in the first place was because I preferred to to just use the custom values and crop it to a 2:1 ratio for the same result. However, I am not seeing where I can put in these values to get a 300x150 image on the index page. Can you guide me to that section?

So far, I have only seen the thumbnail value which is a single number as it is a square image. This is not what I need for the index page.

Administrator
Administrator
acrylian   2011-01-18, 12:29
#4

We have thumbs for images (imagethumbs) and thumbs for albums (albumthumbs) within their own loops. I suggest to read the theming tutorial for the basics.

Sorry, if you wish to use non-square thumbs you have to use the custom size image functions direclty on you theme. There is no such option on the backend.

Member
Member
ryan_nerone   2011-01-18, 12:45
#5

I will give the theming tutorial another read to refresh myself. Been a little while since I have played around with the Zenphoto functions and CSS. However, I do want to have non-square thumbs, so I will keep the CustomSizeImage function. Now have the site basically where I want it. Should I require some further assistance, then I'll come back. Thanks so much for the help.

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