View Full Version : Increase number of thumbnails on the forum
September 13th, 2012, 11:10 PM
I want to increase the number of thumbnails at the top of the forumhome, where can I do that?
September 14th, 2012, 07:42 AM
You can edit the featured photos plugin accordingly in the plugin manager where it lists the plugins you will see the plugin with that title on the hook location of forumhome_complete. Under that plugin at top you will see the configuration options for that plugin as far as number of photos and how many rows to show.
// Number of photos to display
$num_display = 4;
// Number of columns (1 for vertical)
$columns = 4;
September 14th, 2012, 10:06 AM
And to increase the size of the thumbnails?
September 14th, 2012, 10:32 AM
If you want bigger thumbnails on your site then you would increase the thumbnail size in the upload options in the admin of your gallery. You can not have bigger thumbnails one area and smaller somewhere else. The thumbnail size is the thumbnail size the program creates. I responded in your other thread where you where talking about category avatars and I explained how they are half the size of a thumbnail. Your overall thumbnails though are the size you set. Your default thumbnail size is 100 pixel threshold. If you want 200 pixel thumbnails then you set that.
A community photo gallery - Pet&Pet Gallery (http://www.petandpet.com/photopost/index.php)
September 14th, 2012, 02:07 PM
and why photopost doesn´t crop the images to be all a square and not a rectangle?
is there a way to crop images for the thumbnails?
again, thanks for your support Chuck, not always mod look as good as for developers and need a bit of customization :)
September 14th, 2012, 02:37 PM
Thumbnails are not square they are a processed sized image based on the threshold you set. Thus an image that is 800x600 pixels would be with a 200 pixel threshold a 200x150 pixel thumbnail. You must maintain the aspect ratio of an image.
There is a feature if your using Imagemagick to make uniform thumbnails which are a crop of the center of a photo. That is a crop and not a true thumbnail of the entire image.
Basically any image that is processed on your server using the server image processors has to maintain the aspect ratio of the image otherwise you get a distorted image which is what you saw when you tried to incorrectly modify your code on the category avatars to make them a size larger than the actual thumbnail is.
September 14th, 2012, 02:44 PM
and what I need to do to enable that function (to crop thumbnails on photopost) using imagemagick. I have imagemagick already installed on my server
September 14th, 2012, 02:54 PM
You can make sure your processor is set to imagemagick as it was not and under upload options set the uniform thumbnail options.
I did it for you and as you can see they are center crops. Personally I do not like them never have but your choice. Also category avatar is not compatible with that so I turned that off. You can turn that on in index options if you go back to regular thumbnails.
September 19th, 2012, 05:31 PM
now I want to do the same for the thumbnails on the Gallery, Actually I see only 4 thumbnails, how can I increase the number to 12 thumbnails?
September 19th, 2012, 07:39 PM
Under Layout Options in admin set how many rows and how many photos to show it is the very first two options under that section.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.