8.0.3 Image Block Constrain Image not Functioning
Permalink
Whether it's a common theme with all the versions of 8 or just 8.0.3, I had a client site in 5.7.13 I just upgraded to 8.0.3 and everywhere I have a constrained image in a standard image block, the images resize but look jaggy in Chrome, Firefox, Safari and Opera. See the home page of the development site;
http://dev.teknoziz.com:8888/lin_mfg2...
http://dev.teknoziz.com:8888/lin_mfg2...
The logo at the top and the icons at the bottom, which are also not sizing properly, even though they look correct under the stacks area. They should be all the same size. Not sure if the photos are affected. Come to think about it, I think all the affected images are PNGs, would that make a difference?
In your main.css file you have
Try it like this
.col-sm-9 .ccm-image-block { display: block; float: left; margin-right: 30px; width: 60px; }
Try it like this
.col-sm-9 .ccm-image-block { display: block; float: left; margin-right: 30px; /* width: 60px; */ }
The width command is entered in the image block itself, I didn't hand code it in the main.css file.
So you tried it and it didn't work?
No, I didn't since the "width: 60px;" is not *in* main.css, it's actually in the Image Block dialog and the code you gave me /* width: 60px; */ is essentially just commenting that out, yes?
No it is not!
My apologies, you were right, I was trying to control the size from two different places and your suggestion worked fine, thanks!
Just to confirm, I replaced the masthead logo PNG with a JPG and it looks great, so there it something wrong with the PNG handling somewhere. I am going to replace the footer icons as well and see if that fixes those as well.
Are you referring to the larger images at the top of the page or the smaller icons towards the bottom?