Uploads not working in the product customizer
Fix issues where customers cannot upload images in the Chamevo product customizer.
When customers try to upload images in the product customizer, the upload may fail silently, show an error, or produce a broken image on the canvas. This guide covers the common causes.
Symptoms
- The upload button does nothing or shows a loading spinner that never completes.
- An error message appears after selecting a file.
- The uploaded image appears as a broken placeholder on the canvas.
- Uploads work for administrators but not for logged-out customers.
Cause 1: File size exceeds the upload limit
Chamevo has its own file size limit, and the server has PHP limits that may be lower.
Fix:
- Go to Chamevo β Settings β Features β Uploads.
- Check Maximum Image Size (MB) β the default is 10 MB.
- Increase if needed.
- Also check your server's PHP limits:
upload_max_filesizeβ must be at least as large as the Chamevo setting.post_max_sizeβ must be larger thanupload_max_filesize.
- Increase PHP limits via
php.ini,.htaccess, or your hosting control panel.
Cause 2: Login required setting is enabled
Chamevo can require users to be logged in to upload images.
Fix:
- Go to Chamevo β Settings β Features β Uploads.
- Check Login Required.
- If enabled, only logged-in WordPress users can upload. Disable it if you want all customers to upload.
Cause 3: Server permission issues
The WordPress uploads directory may not have write permissions.
Fix:
- Verify the
wp-content/uploads/directory has write permissions (typically 755 for directories, 644 for files). - Check if a security plugin restricts file uploads.
- Test uploading through the standard WordPress Media Library β if that fails too, it is a server permissions issue.
Cause 4: Security plugin blocking the upload
Some security plugins block file uploads that contain base64-encoded image data or large POST payloads.