Ad Space
Cloud Computing and Cloud Hosting by Rackspace
Ad Space
Cloud Computing and Cloud Hosting by Rackspace

Hosting Geared For
your CMSMS needs

CMSMS ready Hosting

Hosting Starting at $15

  • • Hosted Mail
  • • Personal Control Panel
  • • CMSMS 1.8.1 tested
  • • Lightly packed servers
  • • Intrusion Detection
  • • URL monitored
  • • Custom solutions available

Order your hosting Now

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

[+]

Code in the picture:
Title:
Your Name(*):
Email:
Notify me of any further comments to this thread:
Website:
Comment(*):
 
Previous page: Hosting FAQ Next page: Experimental