Stacey cms timthumb and shadowbox


/ Published in: HTML
Save to your folder(s)

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>


</code>

<strong>change like</strong>

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

</code>

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


Copy this code and paste it in your HTML
  1. <strong>find</strong>
  2. <img src="@url" alt="@title" width="@width" height="@height">
  3.  
  4. </code>
  5.  
  6. <strong>change like</strong>
  7.  
  8. <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">
  9. </a>
  10.  
  11. </code>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.