[Php memory] Batch upload and thumbmnails [Php memory] Batch upload and thumbmnails
 

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

[Php memory] Batch upload and thumbmnails

Started by akatato, September 17, 2005, 05:29:10 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

akatato

Hi!

I got a problem with thumbnails in the batch upload: are all dead-image!
"Googling" in the forum i'v found that someone has solved with increasing of php's memory 16 up to 32. I can't change memory because I'm not using mine server but using a provider than I can't ask to change memory so i'v resized the image: now work!

So, somebody know the max image dimension (pixel) for the file that are uploading? in config page are so set:
Max width or height of an intermediate picture/video      = 400     
Max size for uploaded files (KB)          = 1024
Max width or height for uploaded pictures/videos (pixels)      = 6144


the image is
4169x2841px, 861kb

thanx in advance

Nibbler

That's a huge image, resize it on your own computer before you upload.

artistsinhawaii

Akatato,

Is there any specific reason why you would want to display an image 4000+ pixels wide?
The largest monitor will display just over 1200 pixels without scrolling.  So, unless you have a very specific reason to display images that are larger than that, the recommended maximum width should therefore be about 1200, I think.


Dennis


Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

akatato

The only reason to view image so larger is that i have it. I have more pics so big and i have to resize all so i would know if there is any specification about that.

A

kegobeer

It takes a huge amount of memory to do a resize on an image that size.  It won't matter if you use GD or ImageMagick, you just won't be able to do much unless your host dramatically increases the total amount of memory you can use.

There are lots of posts about memory usage with GD and ImageMagick, on this forum and all over the web.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

artistsinhawaii

Quote from: akatato on September 17, 2005, 11:43:56 PM
The only reason to view image so larger is that i have it. I have more pics so big and i have to resize all so i would know if there is any specification about that.

It's always faster and better to resize larger images on your computer before uploading.  If your image processing program does not offer a batch resize option, you may want to try something like irfanview http://www.irfanview.com/  (There are many language packages available for this free software).  Just be sure you don't overwrite or delete your orignals in the conversion process.


Dennis
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

Joachim Müller

you might want to take a look at the batch-resizing tutorial (using IrfanView) - link to tutorials at the top of this page.