Odd Scaling Issue With Legacy

Homepage Community Forums Legacy Theme Support Odd Scaling Issue With Legacy

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #11226
    gilnamur
    Customer

      Hi 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,
      Gil

      #11230
      Wes
      Moderator

        The 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).

        #11231
        gilnamur
        Customer

          Hi 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=”172

          For some reason, the image is not being rendered at 168 x 172. It does if I switch themes.

          #11232
          Wes
          Moderator

            Take 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 */
            }
            #11234
            gilnamur
            Customer

              Brilliant!

              That was it. I changed it to

              img {
              height: auto;
              }

              THANK YOU!!!!!!!

              BTW … will you be bringing out any Magazine style themes?
              Cheers,
              Gil

              #11241
              Wes
              Moderator

                It’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.

              Viewing 6 posts - 1 through 6 (of 6 total)
              • You must be logged in to reply to this topic.