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:

Blog Module /

Discuss the Blog Module.

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

Image in blog

Go to End



Community Member, 193 Posts

24 April 2010 at 2:47am

I use Silverstripe 2.3.7 and blog v.0.3. My problem is add image.

First problem.
I change standard bcc editor in this way BlogEntry::allow_wysiwyg_editing('true');
When I add image in my blog entry and lokk in my daft site, I see html code and not my image. why?

Second problem.
Is possible to add image in this way?

class BlogEntry extends Page {
static $has_one = array(
'Photo' => 'Image'
function getCMSFields() {
$fields = parent::getCMSFields();

$fields->addFieldToTab("Root.Content.Images", new ImageField('Photo'));

return $fields;
I try my tab Images is empty. help..