Images not saving when uploading

Issue

  • Trying to upload an image to a product page results in the image disappearing or being replaced with the placeholder image.

Steps to reproduce

  • Upload image via uploader or drag and drop

  • Tag image as base, small, thumbnail

  • Save product page

Result

  • Image disappears

 

Resolution

We have found this issues to be caused by a previous version of the image becoming unlinked from the product but remaining in the associated media folder.  You can get around the issue by;

  • renaming the image and uploading again

  • removing unassociated images to products in the media folder with this useful tool