For some reason, my pictures after being published on the site are turned upside down by 90 degrees, and everything looks fine in the admin panel. How to fix it ?
For some reason, my pictures after being published on the site are turned upside down by 90 degrees, and everything looks fine in the admin panel. How to fix it ?
Share Improve this question asked Feb 12, 2020 at 5:50 kaizerkaizer 1 2- Can you please provide a link to the website? If you can't provide a link - then can you please provide the CSS from the inspector? It's hard to come up with a solution, if we can't see the problem. It may be a CSS problem - please look out for "transform: rotate();" in your CSS for the specific element. Further information on this: w3schools/cssref/css3_pr_transform.asp – WPTricksDK Commented Feb 12, 2020 at 10:11
- Upside down would be 180°. If it is 90°, are all images rotated in the same direction? – Chenmunka Commented Feb 12, 2020 at 10:12
1 Answer
Reset to default -1You can add jquery .css() method
jQuery('.image_class_name').css('transform','rotate(-90deg)');
change the degree as you want.