Weird Image Sizing
-
I’ve installed the plugin and am using it in a few places and for the most part, it works great! But I’m having a strange issue. I have one image I’m referencing in a menu in the footer. The originally image is 334px x 150px. The CSS on this particular section imposes a max-width of 200px and a max-height of 100px. I’ve created custom sizes in my functions.php in order to accommodate this image but no matter what I do, it keeps resizing the image to 150×150 (or at least it keeps setting the url to a version of the image that is 150×150). The original URL of the image is https://<mysite.com>/wp-content/uploads/2015/03/some-logo.png but when it renders the HTML, it ALWAYS sets the image src to https://<mysite.com>/wp-content/uploads/2015/03/some-logo-150×150.png no matter what size I specify in the menu setup. Because of this, this image is always rendering incorrectly (its the wrong size). How do I fix this? Is there a way to get the plug-in to use the original attachment-id instead of some weird resized version of the image?
- The topic ‘Weird Image Sizing’ is closed to new replies.