How to change size of random image

Phoca Gallery modules - modules for Phoca Gallery extension
Frieki
Phoca Member
Phoca Member
Posts: 12
Joined: 04 May 2008, 19:38
Location: Colombia

How to change size of random image

Post by Frieki »

Hi,
the link from image to lightbox is really smart!.... In which place of the code I can change the size of the random image? It is very small and I have enough space in my joomla template.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How to change size of random image

Post by Jan »

the random image has a medium size, the medium size is taken from Phoca Gallery Component and has the same size as thumbnail medium size set in Phoca Gallery component...


The medium size, you can change in Global configuration in Parameters (but before thumbnail creating)

Jan
If you find Phoca extensions useful, please support the project
Frieki
Phoca Member
Phoca Member
Posts: 12
Joined: 04 May 2008, 19:38
Location: Colombia

Re: How to change size of random image

Post by Frieki »

Thanks for your support! :)
- How can I mark the post as solved? You may put the answer also in the FAQ. :wink:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How to change size of random image

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
robclay
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 28 Dec 2009, 16:45

Re: How to change size of random image

Post by robclay »

I changed the size, and then recreated thumbnails, and I think that the medium image is being cropped to fit the size. Is that possible? i.e. it is not resizing the whole picture, it is just taking a 150 x 150 section of the picture.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How to change size of random image

Post by Jan »

Hi, you can enable or disable cropping for different thumbnail size in parameters.

Jan
If you find Phoca extensions useful, please support the project
Post Reply