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, biapar, Willr, Ingo, swaiba, simon_w

<img />


Reply

2 Posts   601 Views

Avatar
chadws

16 June 2009 at 7:12am Community Member, 9 Posts

I am testing out a new installation of silverstripe and am seeing some odd behavior when adding images to the site. I uploaded a number of images to the Files & Images section and this appears to have worked. However, if I go to a page and attempt to add an image to the page the image shows up in the administration window. Then when I save and publish the site the following is rendered on the page:

<div><img /></div>

I am not certain why none of the attributes on img are being added (src, height, width, etc)?

I have extended the page with a custom version, but this is occurring on the default page as well as my custom page.

Anyone have any ideas?

SS v 2.3.1

Avatar
Nivanka

16 June 2009 at 7:11pm Community Member, 395 Posts

didnt you try by disabling the WYSIWYG editors code validation. Try it sometimes it will work out. Or else check ones you add an image the complete tag appears there.