Filed Under: PHP

Make TimThumb Script W3C-Valid

28 January 2011 No Comment


Share

I haven’t posted here in a long time, because I was quite busy being a webmaster. Anyway, today I am going to show you how you can make the TimTHumb script W3C-valid!

A typical TimThumb URL:

<img src="”/scripts/timthumb.php?src=/images/picture.jpg&amp;h=150&amp;w=150&amp;;zc=1″" alt="" />

Add “&” as follows:

<img src="”/scripts/timthumb.php?src=/images/picture.jpg&amp;h=150&amp;w=150&amp;zc=1″" alt="”&quot;" />

Now come back to W3C Markup Validation Service to see how your page been approved.







Like our posts? Then subscribe via Mail:

Email:  

Similar Posts:

Leave your response!

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="">

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.com.