Help - Search - Members - Calendar
Full Version: picture size
CyberiaPC.com Community > Technical Zone > Zenith Picture Gallery
remski
HI..

For starters.. thanks for a nice gallery..

One issue i have is that the pictures in small mode are too small and in medium are too big..
Most of my pics are 2240 x 1680 px.
I searched the forum and and the files and cant seem to find a place where to change it.
Using your latest v0.8.4
I would like to be able to specify the size of the small and medium pics..

Thanks
Remi
usr.c
Hi,

You can specify the size of small pictures in the Admin CP under Setup & Config.

Medium thumbnails are determined using the formula in functions.php (line 131)

CODE
elseif($pic_size == 1) { //medium
   $med_width = ceil(($size[0] + $size_thumb[0]) / 2);
   $med_height = ceil(($size[1] + $size_thumb[1]) / 2);
   


You can change the variables to make your medium size thumbnails smaller.

Let me know if you have any problems.
Ali
remski
Hi..

The medium resize works great... But the changing the small size also changes.. the thumbnail size..
Am i correct ?? is there only one setting for the thumbnail and small ?

Thanks..
usr.c
Yep, they're the same.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.