Problem with wordpress theme stretching images. Need coding help

Discussion in 'WordPress' started by WordpressSEO, May 21, 2010.

  1. #1
    I am having an issue where on the individual post pages and static pages, the images are being stretched to the full width of the post area.

    It also downsizes the images when they are larger than the allocated post width (which is good!!!!!)

    But I do NOT want it to stretch them back.

    Can you look at the post and see what I mean...

    hxxp://www.mybuildingpro.com/2010/meta-description-seo/
     
    WordpressSEO, May 21, 2010 IP
  2. Cash Nebula

    Cash Nebula Peon

    Messages:
    1,197
    Likes Received:
    67
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Going by this post, it appears that the jFlow code is causing the problem.
    You could remove it but that would stop the slider on the home page. I'm not sure how to stop it working on post pages.
     
    Last edited: May 21, 2010
    Cash Nebula, May 21, 2010 IP
  3. WordpressSEO

    WordpressSEO Peon

    Messages:
    74
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Is their not like a if- single post, then- no Jflow type loop that could be implemented?
     
    WordpressSEO, May 21, 2010 IP
  4. Cash Nebula

    Cash Nebula Peon

    Messages:
    1,197
    Likes Received:
    67
    Best Answers:
    0
    Trophy Points:
    0
    #4
    At line 33 in header.php, replace:
    <script language="javascript" type="text/javascript" src="<?php bloginfo('template_url')?>/includes/js-functions.js"></script>
    Code (markup):
    with this:
    <?php if ( is_home() ) { ?> <script language="javascript" type="text/javascript" src="<?php bloginfo('template_url')?>/includes/js-functions.js"></script> <?php } ?>
    Code (markup):
    Hope that works, I have not tested it. Good luck! :)
     
    Cash Nebula, May 21, 2010 IP
  5. pranshubatra707

    pranshubatra707 Member

    Messages:
    69
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #5
    thnk u :D i also needed it :D
     
    pranshubatra707, May 22, 2010 IP
  6. WordpressSEO

    WordpressSEO Peon

    Messages:
    74
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    ah-ha! I was out of town, just tried it.

    It worked perfecto.

    Thank you. I actually have a few more questions I might need to ask you.

    Thank you for providing quality help here (seems to be hard to find these days.)

    If I could give you green rep I would. But i dont think I have enough posts under my belt
     
    WordpressSEO, May 24, 2010 IP
  7. Cash Nebula

    Cash Nebula Peon

    Messages:
    1,197
    Likes Received:
    67
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Glad it worked and didn't break anything :) PM sent about the nofollow fix.
     
    Cash Nebula, May 24, 2010 IP