Cannot get thumbnails to show up in post, please help

Discussion in 'Programming' started by smdmarketingco, Apr 18, 2009.

  1. #1
    I have worked for several hours trying to get my thumbnails to show up in my wordpress blog site.

    I have 2 or more postings with pictures.

    I have added the custom fields "thumb" and the image in the value from the media library.

    I have added this to the index file.

    1. <a href="<?php the_permalink() ?>" title="<?php the_title(); ?>">
    2. <img src="<?php $values = get_post_custom_values("thumb"); echo $values[0]; ?>” alt=”<?php the_title(); ?>” class=”thumb” />
    3. </a>
    4. <?php the_excerpt(); ?>

    Still nothing.

    Any help would surely be appreciated.

    Thank you!
     
    smdmarketingco, Apr 18, 2009 IP
  2. smdmarketingco

    smdmarketingco Peon

    Messages:
    87
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I got it!

    Nevermind, this newbie found the problem. :)

    The index file called for the thumbnails to called Thumbnails and I was calling the thumbnails with no capital T.

    I changed this to match and it worked.

    I am hoping this could be the problem but anyone it worked for me in case anyone else this problem.
     
    smdmarketingco, Apr 18, 2009 IP
  3. alfa_375

    alfa_375 Active Member

    Messages:
    445
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    60
    #3
    Very Good man, thanks for posting
     
    alfa_375, Apr 19, 2009 IP
  4. smdmarketingco

    smdmarketingco Peon

    Messages:
    87
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Guess I spoke to soon.

    Now when you click on the post itself the image is there but the wording is gone. Says it is filed under xxxxx.

    It is no good if someone clicks on the post and does not see the post itself.

    Any help appreciated!
     
    smdmarketingco, Apr 19, 2009 IP
  5. smdmarketingco

    smdmarketingco Peon

    Messages:
    87
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I really hate to bug you guys but I really need some help with this one.

    I have tried everything and nothing works.

    Maybe the code is messed up or something but I sure cannot find it.

    Your help will be very appreciated.
     
    smdmarketingco, Apr 19, 2009 IP