Ad Space
Ad Space

SuperSizer Gallery Example


Your orginal image has a corrupted header or is the wrong file type.

from

 {assign var=Files value="uploads/feusers/*.jpg"|glob} {foreach from=$Files item='File'} {supersizer path="$File" width="100" alt="" Subdir="Example" URL=true Assign="MainPic"} <a href="{$MainPic}" >{$MainPic}</a> {/foreach} 

SO. . .

If you had had a 100 images in there you would have got a 100 links. Add more params and well you got a album that you could set on any assets like FEU profile, or Calendar events












Smarty file output


 {assign var=Files value="uploads/feusers/*.*"|glob}
{foreach from=$Files item='File'}
<a href="{$File}">{$File}</a> - date {$File|filemtime|cms_date_format} | <br/>
{/foreach}

outputs

uploads/feusers/104_4162.JPG - date Feb 23, 2006 |
uploads/feusers/1_Image.jpg - date Jul 27, 2010 |
uploads/feusers/1_ProfilePic.jpg - date Jul 27, 2010 |
uploads/feusers/Untitled-1.jpg - date May 22, 2013 |
uploads/feusers/a.jpg - date Jul 27, 2010 |
uploads/feusers/b.jpg - date Jul 27, 2010 |
uploads/feusers/sports_02-28b.jpg - date Jul 27, 2010 |