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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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

<img />


Go to End


2 Posts   1195 Views

Avatar
chadws

Community Member, 9 Posts

16 June 2009 at 7:12am

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

Community Member, 400 Posts

16 June 2009 at 7:11pm

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.