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
Read more here:: Force media library editor to overwrite the original filename?