Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

How Do I Show Each Pic Clearly For Post Preview? WordPress

  • SOLVED

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.

Answers (3)

2010-02-21

Dan Fraticiu answers:

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.


Dan Fraticiu comments:

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


Brandon Boshnack comments:

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!


Dan Fraticiu comments:

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

2010-02-21

Erez S answers:

you should edit the category.php archive.php files

2010-02-21

Andrzej answers:

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