Jump to content

[Solved] Cannot change category image


Recommended Posts

I have no problems uploading the image for a category the first time.

 

I am now not able to update the the image.

Pretashop back office shows the latest image and there was no error during the upload process of the new image.

However, the front-end of my my shop shows the old image for this particular category.

 

Image url for my category on front-end is http://myshop.com/c/5-medium/dress.jpg (this structure looks correct, however, this is the old image)

Image url for the new image seen in back-end is http://myshop.com/im...time=1349923021 (this structure doesn't look correct)

 

Anyone can shed some light on my issue?

Edited by Eric Nguyen (see edit history)
Link to comment
Share on other sites

Ok, I solved the problem.

For some reason, the existing product category images (in /img/c/ directory) are not writable.

So what I did is:

 

1) chmod -R 777 img

this is to make the /img/c/ directory and its files writable

 

I know this is not good in terms of security

but isn't this required in Prestashop installation?

 

2) chmod 755 img

Just to make things a little more secured :)

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...