Jump to:

23483 Posts in 18976 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » <img />

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

Page: 1
Go to End
Author Topic: 593 Views
  • chadws
    Community Member
    9 Posts

    <img /> Link to this post

    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

  • Nivanka
    Community Member
    395 Posts

    Re: <img /> Link to this post

    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.

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.