Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

image with lightbox/thickbox in blogentry

Go to End



Community Member, 68 Posts

31 July 2009 at 8:33pm

Edited: 31/07/2009 8:33pm

i have created a blogentrydecorator class (thanx dab and simon from IRC!) which allows my client to add an image to a blog entry.

Now, i need to extend it with following functionality.

User adds the image as usual. image is saved in Uploads.

When displaying it in template, it is visible as thumbnail, which you can click to see full size image in lightbox or thickbox.

how should i do it, any hints ?