Set image size

Phoca Gallery - image gallery extension
H. Numan
Phoca Member
Phoca Member
Posts: 22
Joined: 04 Jan 2010, 10:30

Set image size

Post by H. Numan »

I'm completely new to Phoca, and this problem stumps me:

How and where to I set the size of an image?

I need to create several categories. Let's name them Standard and Big.
The images in Standard are web quality. Those in Big are 300 dpi for printing. Clients will select the image they want, and download them.
So far, I got a few nice albums, but they all show photo's rather small. Not the thumbnail, but the photo it self. How can I set the maximum image size for a particular category?

300 dpi asks for big file sizes. Phoca can handle up to 3 Mb per image. Given that camera's find 12 Mb no big deal, is a later version of Phoca going to issue that problem?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Set image size

Post by Jan »

Hi, Phoca Gallery doesn't handle your images. Your server (GD library) creates thumbnails from original images. So it depends on server (GD, memory, cpu, security settings - upload limit, etc.) which size can be uploaded and which size can be worked (creating thumbnails). You can set in parameters e.g. quality of produced JPGs, see more information about making different sizes of thumbnails here:

https://www.phoca.cz/documentation/categ ... -component
https://www.phoca.cz/documents/2-phoca-g ... w-resizing
https://www.phoca.cz/documents/2-phoca-g ... -menu-item

Jan
If you find Phoca extensions useful, please support the project
H. Numan
Phoca Member
Phoca Member
Posts: 22
Joined: 04 Jan 2010, 10:30

Re: Set image size

Post by H. Numan »

Thanks for the help, but I'm not quite there:

I have photo's 1024x768. I created a category for them. I set a menu link for that category. In the Parameters (Component) I set the Images and Windows Size Settings to 1024x768. Same for Front Detail Windows.

But the photo's show up as 640x480, regardless my settings.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Set image size

Post by Jan »

Hi, if you will change the size, you need to create (recreate) thumbnails then.

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