logo

$4
How Do I Show Each Pic Clearly For Post Preview?

URL: http://www.brandonandlisa.com/blog

When you go to the blog, you will notice that for each pic, the alt tag appears above the pic in which it seems like there is a coding error as I had it adjusted to be able to use a thumb tag in which the picture does show up nice with thumbs.

However, I decided to put the code within the excerpt as other widgets will find the pic for preview better along with the RSS feed.

What file and what do i have edit to eliminate the error box. if you go to http://www.brandonandlisa.com/blog on internet explorer, you will see what I am talking about more clearly.

For my files, go to http://www.brandonandlisa.com/magazine_10.rar

...and please tell me what to adjust to eliminate the problem considering it is in one of those files.

Thank you very much!

Last but not least, I am planning on having one unique video show per unique post. Is the section widget the best to organize this? If not, what do you suggest I use for it to be the most optimum? Thanks!


-----------
P.S.
Also, willing to up prize money if someone could help me get my site to load faster. Google says that it is 77% slower all of the sites on Google.

Brandon Boshnack | 02/21/10 at 4:11am | Edit


(3) Possible Answers Submitted...

  • avatar
    Last edited:
    02/21/10
    5:11am
    Erez S says:

    you should edit the category.php archive.php files

  • avatar
    Last edited:
    02/21/10
    1:08pm
    Dan Fraticiu says:

    Go to home.php and remove line 19, should look something like this:

    <img class="thumb" src="<?php bloginfo('template_directory'); ?>/tools/timthumb.php?src=<?php echo get_post_meta($post->ID, "thumb", $single = true); ?>&amp;h=<?php echo get_theme_mod($position.'_thumb_height'); ?>&amp;w=<?php echo get_theme_mod($position.'_thumb_width'); ?>&amp;zc=1" alt="<?php the_title(); ?>" />


    Or overwrite it with the file I've attached

    LE: I can't upload the file, I get some error, so just remove that line and you should be fine.

    Previous versions of this answer: 02/21/10 at 5:40am | 02/21/10 at 5:41am | 02/21/10 at 5:41am | 02/21/10 at 5:42am | 02/21/10 at 5:43am

    • 02/21/10 5:40am

      Dan Fraticiu says:

      Go to home.php and remove line 19, should look something like this:

      <img class="thumb" src="<?php bloginfo('template_directory'); ?>/tools/timthumb.php?src=<?php echo get_post_meta($post->ID, "thumb", $single = true); ?>&amp;h=<?php echo get_theme_mod($position.'_thumb_height'); ?>&amp;w=<?php echo get_theme_mod($position.'_thumb_width'); ?>&amp;zc=1" alt="<?php the_title(); ?>" />


      Or overwrite it with the file I've attached

    • 02/21/10 12:49pm

      Brandon Boshnack says:

      Thanks a lot. We are getting somewhere. Was just about to grant you the winner but we are still having a problem:( The category and tag pages are experiencing the same problem as before. Even worse, one of the categories (free your body) wont even show the pic at all.

      How do I rectify it? Thanks!

    • 02/21/10 12:58pm

      Dan Fraticiu says:

      Oh do the same thing in archive.php and tag.php

  • avatar
    Last edited:
    02/21/10
    11:17am
    Andrzej Zglobica says:

    I can do complex speed optimization for your website for $160. Please contact me by private message if you're interested.

This question has expired.





Current status of this question: Completed