I am having an issue with product images showing up in the backend, but not on the frontend. This was working fine, but seemed to start being a problem after I set up a newsletter. The newsletter wasn’t sending correctly, so I set up a ping service to ping the cron.php file every five minutes. Since I set that up, the newsletter works great, but whenever you load a new product into the catalog, the images for that product show up in the backend, but not in the frontend.
Here are things that I have tried that didn’t work:
- Erased the htaccess file from the “Media” folder
- Deleted and cleared the cache
- Rebuilt the indexes
- Made sure my “Media” folder was writeable
- Shrank the image to make sure it was below the correct file size limit
- Made sure my memory in PHP was set to 128MB
After all of these things, it still is not working correctly, and I am at a bit of a loss.
I just checked to see if the image, after saving it in the backend, is showing up in the “Media” folder. Turns out that the image isn’t there. When I checked the database, the path to the image is there. So it looks like it is saving the path to the image, but not the image itself.
It also looks like it is trying to save the images in the media > catalog > products > cache folder instead of outside of the cache.
So I checked to see what the URL that the front end is trying to access is, and I get the following:
Then I checked to see what the URL that the back end is trying to access, and I get the following:
When I open my FTP program and browse to the front end image, the folder where the image is supposed to be is empty.
When I open my FTP program and browse to the back end image, the folder where the image is supposed to be has the image in it.
Any help would be much appreciated. This has become quite the urgent matter!