I'm new and tried to find the answer but can not find it. I am instested in there is some way in Phoca Gallery to resize images on upload.
Users wants to create category and upload images in front end. But they have like 3-4MB images. They just want to upload those images and expect the "website" or the gallery to resize them to for ex. 800x600px. Is that possible?
image resize
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: image resize
Hi, in fact, it is up to your server. You can add limit for uploading images on your server but you need to know how your server strong is.
So you can e.g. add 4MB limit for uploading image but normally, e.g. the server (PHP and GD library) is able to make thumbnails from 2-3MB large image so then the error interrupts user's upload.
So yes, the thumbnails will be resized by parameters which are set in Options but original uploaded images stay untouched as they are used for different features (see similar topics)
E.g. with help of java upload applet the images can be resized before they are uploaded to server (on user's PC) but the problem is, user need to run java applet
Jan
So you can e.g. add 4MB limit for uploading image but normally, e.g. the server (PHP and GD library) is able to make thumbnails from 2-3MB large image so then the error interrupts user's upload.
So yes, the thumbnails will be resized by parameters which are set in Options but original uploaded images stay untouched as they are used for different features (see similar topics)
E.g. with help of java upload applet the images can be resized before they are uploaded to server (on user's PC) but the problem is, user need to run java applet
Jan
If you find Phoca extensions useful, please support the project
