Can't upload image

jsz

No avatar

2007-05-28 18:25

Hi.

When i try to upload a photo when adding products, i get this error.

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 6768 bytes) in xx/xx/xx/quickcart/libraries/FotoJobs.php on line 239

I have only used 23% of the space my host provides me.

Anyone know what the problem might be?

» Quick.Cart v1.x

/jJsz

merci

No avatar

2007-05-29 11:04

jsz - check if photo don't have too big size (over 2000 pixels width or height)

jsz

No avatar

2007-05-29 12:40

The image file is not too big.

Perhaps the size limit of the folder with images is 8388608 bytes anyone know how to change that?

treewood (OpenSolution)

Avatar: treewood

2007-05-29 14:11

jsz - You can change this after You will edit php.ini file. But i think You will not have access to this file. What is size, format and weight of this photo?

jsz

No avatar

2007-05-29 17:56

The size is about 1100x1600 (402 Kb) format is A4

treewood (OpenSolution)

Avatar: treewood

2007-05-29 22:16

jsz - then change size too for example (longer side): 800 px and try to upload again. Photo format is? JPG/PNG/GIF ?

jsz

No avatar

2007-05-30 15:58

Its JPG.

jsz

No avatar

2007-05-30 15:59

I think it worked, resizing the image.

pcfantasy

No avatar

2007-05-31 23:27

Hi all, I couldn´t upload any picture, I tried everything, read all the topics, but nothing helped. No images on my web. But it exist maybe harder way, but it works - for me.

1/ Upload your foto via ftp to your web. For example foto1.jpg. So now adress of your photo is www.yourweb.com/foto1.jpg
2/ Go to admin, products and go to add product. In the field where you write details of your product just writte:

<a href="http://www.yourweb.com/foto1.jpg" width="208" height="318"><img border="0" src="http://www.yourweb.com/foto1.jpg" width="208" height="318" align "left"></a>

You can change size of photos by changing numbers in "width" and "height" and "align" left-right (or you can erase "align left" completly) in second line. I tryed also change numbers in the first part, but nothing happens.
This way of uploading fotos you can use not only in text fields for details, but also in main brief description field..

I know, its only an alternative way, but I don´t mind its bit harder, but it helps me..
Hope it works for you too. Good luck!

Petr "Czech"

Back to top
about us | contact