I’m using Strapi v5.5.0, and I’ve encountered an issue with the Media Library’s image crop feature.
In the development environment, the crop option works perfectly, but in the production mode on my live site, the crop option doesn’t load, and the Media Library UI seems to break.
Here’s what I’ve checked so far:
- The production build was created using
npm run build
and started withnpm run start
. - There are no apparent errors in the browser console or server logs.
- The permissions for the
/public/uploads
folder are correctly set, and images upload without issues. - All other Media Library functionalities are working fine.
It seems like this issue might be related to environment-specific settings or the production build configuration.
Questions:
- What could be causing this discrepancy between the dev and production environments?
- Are there specific build or environment configurations for Strapi that I might be missing?
- How can I debug or fix this issue to make the crop feature work in production?
Any insights or suggestions are greatly appreciated.
Environment Details:
- Strapi Version: 5.5.0
- Node.js Version: (e.g., 18.x.x)
- Database: (e.g., PostgreSQL/MySQL/SQLite)
- Deployment Platform: (e.g., AWS, DigitalOcean, Heroku)
Thank you!