最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

plugins - Force media library editor to overwrite the original filename?

programmeradmin2浏览0评论

I use the WP All Import to bring in images and stock info via XML into my store. However some of the images that come from a 3rd party system are rotated wrong. If I rotate them manually in the media editor they then save with a new filename. This causes a problem as when my import plugin system runs again it detects that there isn't a image with the same filename on the system to display, so it uploads a new copy and tells Woocommerce to use that image instead of the rotated image due to the new filename.

I need a way to manually rotate images, that I see wrong inside wordpress and overwrite the original file name. How can this be done? can I hack the code to do it? can I alter a function in the child theme? or is there plugin out there that has a manual rotate button on it that overwrites the image.

Any help appreciated

Dan

发布评论

评论列表(0)

  1. 暂无评论