Jump to:

17452 Posts in 4473 Topics by 1971 members


SilverStripe Forums » Archive » CMS Image issue

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 1690 Views
  • dany_doo
    Community Member
    13 Posts

    CMS Image issue Link to this post

    Hi everybody,

    I have a very strang image issue. I have some image field in my Template (with all code needed to extend CMS) and when I insert content, I tried to attach some image also, and after choosing one (from my computer or from the file store - it is the same) picture, Silverstripe is like acting some upload for picture.

    But after it is finished, I see only an empty field (see screen shot below).

    Please help!!


  • Daminipo
    Community Member
    14 Posts

    Re: CMS Image issue Link to this post

    Hi dany_doo!

    Some time passed now, but if you still have the issue, the same happend to me couple of hours.

    Well, my problem was that I was inconsitent with the name I gave to the ImageField, just check if you have the same name everywhere:

    static $has_one = array( 'YourImageName' => 'Image');
    function getCMSFields() {$fields->addFieldtoTab(..., new ImageField( 'YourImageName' ));}

    Otherwise I would check if you have write permissions to the "assets/Uploads/" Folder. That can do the trick aswell, cause if you use Safari you won't get an ErrorMsg if you have no permissions to that Folder... Firefox helps out here.

    Well, that should do the trick. Hopefully I could help you.

    Something else thats distrubing me is that the "Choose File" button isn't properly shown in Safari 3...
    See Image for Details

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.