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:

Customising the CMS /

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

Change background colour of CMSThumbnail


Go to End


708 Views

Avatar
novaweb

Community Member, 116 Posts

22 January 2013 at 3:04pm

Hello Strippers!

I am trying to work on an image gallery for 3.0.X - This gallery I've built utilises $CMSThumbnail for the preview image in the gallery.

I assume GD is used to create and save this thumbnail - could somebody please let me know if the background of the saved image can be changed from #FFF to say... #CCC? As it is, all photos automatically have a white background and this is not a border or padding, it is actually part of the saved image.

Thank you!