Jump to content

[SOLVED] Product Image Upload problem


Recommended Posts

When I upload an image over 1mb I get this error:
Fatal error: Out of memory (allocated 69206016) (tried to allocate 11328 bytes) in /home/wildwest/public_html/store/images.inc.php on line 155

php.ini upload_max_filesize = 2M is set to 64m

permissions set to 755

that image upload tab sais Format: JPG, GIF, PNG
Filesize: 2000Kb max.

It appears it only allows 1000kb max.

I also increased the memory limit to 128mb no change

i don't see anywhere in prestashop or on the forums to set the image upload size for product images in the back office. No problem uploading small images

Any clues?

Link to comment
Share on other sites

I suggest that you manually resize your images to 600 x 600 pixels (the thickbox size) before uploading them to PrestaShop, since that's the biggest they will be displayed anyway. That will minimise the amount of space they take up on the server and also minimise the memory required to create thumbnails.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...