Is there a way for it to resize pictures before uploading? Is there a way for it to resize pictures before uploading?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Is there a way for it to resize pictures before uploading?

Started by sandaili, March 28, 2010, 07:48:17 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sandaili

I might be doing something wrong here - I thought if the uploader encounters an image that is too big, it resizes it, but it seems to stop :/ Is this an option, and I just have it set wrong? Thanks so much!

sandaili

I wanted to clarify - the problem is that the pictures are too big in kb, not the dimensions. I was wondering if it is possible on the client side to resize pictures before they get uploaded, so far I don't see a way to do it. TY!

etienne_sf

Hi,

  Go the JUPload configuration page, and check the maxNonTransformedPictureSize parameter. It should do what you're asking for.


Etienne

sandaili

I tried -1 and -3 but I get the same error - it says the picture is too big, at 1.6mb. Not sure where to go from there. I'll play around with the settings more. TY!

sandaili

Hmm I put it to 3, and it allows the upload, but it is not really uploading the picture - it's just a small black box. Has anyone else encountered this before?

etienne_sf

From the description of the parameter:

pictures biggers than the maximum picture width and height in pixels

so, if you put 3, you upload a picture of 3 pixels big. I suggest you put a little bigger value...
;)

Etienne

sandaili

LOL Okay :D I will try it again hehe. I thought it was referring to another value box and not being literal. DOH! :D