Product Images Not Showing
Common Causes
1. Wrong image path
The database stores relative paths (e.g., products/3/xxx.jpg), and the frontend prepends a /uploads/ prefix when displaying. Verify the path format is correct.
2. File not found
Check if the file exists in the uploads/ directory. The upload may have failed or the file may have been deleted by mistake.
3. File permissions
Make sure the uploads/ directory has the correct read/write permissions.
Solutions
- Re-upload the image
- Check whether the
uploads/directory is accessible - Clear the browser cache