Hosting Geared For
your CMSMS needs
Hosting Starting at $15
- • Hosted Mail
- • Personal Control Panel
- • CMSMS 1.8.1 tested
- • Lightly packed servers
- • Intrusion Detection
- • URL monitored
- • Custom solutions available
CP Blogs
Update to SuperSizer
Posted by: Jeremy Bass
on Nov 1, 2009
Category:
Coding, Intermediate, Smarty, Presentation, CMS Made Simple
Plugins Used
SuperSizer
Summary: So you want a Gallery... this is how... This is Super Basic and should give you an idea but in a more complex version you'd make the thumbs to the display image all for a "lightbox" type set up... Gallery Example
Ad Space
So you want a Gallery... this is how... This is Super Basic and should give you an idea but in a more complex version you'd make the thumbs to the display image all for a "lightbox" type set up... Gallery Example Code: {assign var=Files value="uploads/feusers/*.jpg"|glob} {foreach from=$Files item='File'} {supersizer path="$File" width="100" alt="" Subdir="Example_CALENDAR_event_id" URL=true Assign="MainPic"} <a href="{$MainPic}" >{$MainPic}</a> {/foreach} If this don't make sense think building a gallery from the ground up or folder out. 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 asset like a FEU profile, or a Calendar events etc... Also the wiki is updated now too... http://wiki.cmsmadesimple.org/index.php/User_Handbook/Admin_Panel/Tags/supersizer Cheers Jeremy
Ad Space














Get Social With It
[+]Add A Comment
[+]