Return to Snippet

Revision: 30907
at August 25, 2010 06:52 by xenuan


Initial Code
<strong>find</strong>
<code>
		<img src="@url" alt="@title" width="@width" height="@height">

</code>

<strong>change like</strong>

<code>
		<a href="@url" rel="i think this is for shadowbox"><img src="/timthumb.php?src=@url&w=WIDTH&h=HEIGHT&zc=1" alt="@title" width="@width" height="@height">
</a>

</code>

Initial URL


Initial Description
It is quite easy. Download timbthumb and upload to your ftp (e.g: your root folder)

Then open your template html. For default template; templates/partials/assets/images.html

<strong>find</strong>
<code>
		<img>

</code>

<strong>change like</strong>

<code>
		<a href="@url"><img>
</a>

</code>

p.s: dont forget to add shadowbox requirements. otherwise shadowbox wont work.

Initial Title
Stacey cms timthumb and shadowbox

Initial Tags
images

Initial Language
HTML