Posted By

titan on 03/01/10


Tagged

resize image plugin implementation


Versions (?)

Image Resize


 / Published in: Smarty
 

A plugin for resizing and outputting images within a template on the fly

  1. {img}
  2.  
  3. attributes
  4. src = image-filename.jpg
  5. path = path to your image
  6. width = width to resize to
  7. height = height to resize to
  8. alt = Alt text to be outputted
  9. assign = resizes the image, and saves the path / name to the variable nominated

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: yisreldov on December 30, 2010

Umm I don't see how this is really a plugin ...

You need to login to post a comment.