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.

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 ?