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

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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