Multiple Upload Resize Image + Maximal Upload Size

Phoca Gallery - image gallery extension
Hennu
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 25 Jun 2013, 19:33

Multiple Upload Resize Image + Maximal Upload Size

Post by Hennu »

Hello!

We have a question regarding the Multiple upload resize feature of Phoca 4.0.4. which is found from tab Users – Upload settings, Multiple Resize Width/Height.

We tested the uploading by multiple upload where we had set Resize width and height to 1280 x 1024.

We don’t want to allow images larger than 500kb. When we put limit to this, and tried uploading a picture with all those settings mentioned, aka resize it to 1280 x 1024, phoca just simply reported: Image too large.

When we put the maximum allowed filesize to 5 Megas or larger, it allowed to upload the image, which original size was 2.70MB, and it did resize it by those width and height restriction we set, so it was 1280 x 980, (original size: 2560 x 1920) BUT.. the filesize was 1.25 MB, which is way too large. It had reduced it about 46% from its original file size.

Is there a way that it would reduce the filesize to our chosen limitation of 500 kb AND reduce the width and height to our decided size as well, even if it was larger by its original filesize?

General problem is, not all users know how to resize pictures on the computer, before uploading. That is why we would love if the resize feature worked in the way explained above.

Any suggestions, solution how to configure the settings?

Thank you in Advance.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49149
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Multiple Upload Resize Image + Maximal Upload Size

Post by Jan »

Hi, if you mean the java upload, I think, this needs to be somehow customized directly in the java upload settings - to set e.g. quality of jpg - but for now I don't have any experience with it :idea:

You can see the settings here: administrator/components/com_phocagallery/libraries\phocagallery\file\fileuploadjava.php (but if this is possible or not, this needs to be found on sites of the java upload developer :idea: )

Jan
If you find Phoca extensions useful, please support the project
Hennu
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 25 Jun 2013, 19:33

Re: Multiple Upload Resize Image + Maximal Upload Size

Post by Hennu »

Thank you for your reply! We understand that you cannot provide help in this. :( We are still struggling with this same issue. We tried changing some settings in that specific file, without luck and also can't completely understand what should be changed to make uploading process to resize images in height/width and also the quality aka filesize.

Apologies that we must ask but: Would you guide us that where can we contact the java upload developers for tips how to solve this issue that is really problematic, because it keeps taking a lot of superadmins time to make files smaller (or guiding to resize before upload) and if we leave it automatic settings like I described in my post, it leaves the file sizes so large that the domains can end up full really fast :(.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49149
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Multiple Upload Resize Image + Maximal Upload Size

Post by Jan »

Hi, unfortunately, I don't know the author of the java applet :idea: :-( ... The java applet was added because it was in feature request list by many users - I just implemented the open solution to Phoca Gallery but don't have any contact to the author :-(

Just the the project page (it is well documented): http://jupload.sourceforge.net/

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