Home › Community Forums › Legacy Theme Support › Odd Scaling Issue With Legacy
- This topic has 5 replies, 2 voices, and was last updated 8 years, 3 months ago by
Wes.
-
AuthorPosts
-
March 11, 2014 at 5:42 pm #11226
gilnamur
CustomerHi Wes,
I have deployed Legacy numerous times. Rock solid and I love your themes!
I just ran into a VERY odd thing and can not for the life of me figure it out.
I am just starting this site so please ignore the mess: http://www.hazelmagnussen.com/go-north-young-woman-go-north/
The image in that page is actually scaled to 168 x 172. But, it does not render as a scaled image. It shows as 300 x 308.
If I switch to Twenty Twelve, the scaling works. If I switch to Beautiful theme (genesis), it works.
If I switch to Genesis, it does not!
I have deleted Genesis and Legacy, re-installed them and no difference.
I am building another site with Legacy and I do not have this issue there or anywhere else.
Any ideas would be GREATLY appreciated! I have tried this on 3 browsers (Firefox, IE and Chrome). Same thing.
Thanks and cheers,
GilMarch 11, 2014 at 5:59 pm #11230Wes
ModeratorThe link to the image in your source code links to this image – http://www.hazelmagnussen.com/wp-content/uploads/2014/03/Go-North-Young-Woman-300×308.jpg which is 300 x 308
What do you have your image size set to in your Genesis Settings page? Once you have that set, make sure and regenerate your thumbnails using the Regenerate Thumbnails plugin (it will automatically adjust your images). You can add more image sizes in your functions file (just look for the other image sizes and add your own).
March 11, 2014 at 6:09 pm #11231gilnamur
CustomerHi Wes,
I know that it is 300 x 308.
In the page, I have ‘scaled’ (using the edit image feature) the image to 168 x 172.
As I say, if I switch to the other themes, it shows as scaled to 168 x 172. Would you like me to activate another theme so you can see what I mean?
I am quite familiar with Genesis, Regen thumbs, functions.php and media settings re image sizes. This has nothing to do with it.The image is simply not being scaled. If you look at the source code, you will see”
src=”http://www.hazelmagnussen.com/wp-content/uploads/2014/03/Go-North-Young-Woman-300×308.jpg” width=”168″ height=”172For some reason, the image is not being rendered at 168 x 172. It does if I switch themes.
March 11, 2014 at 6:20 pm #11232Wes
ModeratorTake a look around line 384 in your css and remove the code for either the height or the width –
img { height: auto; width: auto; /* IE8 */ }
March 11, 2014 at 6:28 pm #11234gilnamur
CustomerBrilliant!
That was it. I changed it to
img {
height: auto;
}THANK YOU!!!!!!!
BTW … will you be bringing out any Magazine style themes?
Cheers,
GilMarch 11, 2014 at 11:50 pm #11241Wes
ModeratorIt’s definitely on my to do list, especially since I don’t have any at the moment. Hopefully I can get something designed and released before the summer.
-
AuthorPosts
- You must be logged in to reply to this topic.