Jump to:

23487 Posts in 18996 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Image inserter, doesn't update its preview pane with just uploaded file thumnails???

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: 995 Views
  • TF-35Lightning
    Avatar
    Community Member
    137 Posts

    Image inserter, doesn't update its preview pane with just uploaded file thumnails??? Link to this post

    Hi all,
    I upload my images via Files & Images, they successfully upload.

    Then when I'm in Site Content section and are editing a a page and go to insert image, the insert image component shows in the right side of the screen but it only ever has 1 image in there, that being the Silver Stripe blue symbol.

    Now if I type my just uploaded file name in at the search box the thumbnail of my uploaded image now appears and I can insert.

    Obviously I don't want to have to be search every time I upload an image just wondering if anyone out there can tell me how to fix this issue and get those thumbnail to immediately show up

    I am on a clean install of WAMP, (have the rewrite_module ticked)

    and have also tried this suggestion:

    http://www.silverstripe.org/archive/show/145873?start=16#post172052.

    They mentioned that you need to edit Folder.php (found in sapphire/filesystem) and add the line in next to >>>

    if(file_exists($tmpFile['tmp_name']) && copy($tmpFile['tmp_name'], "$base/$file")) {
    // Update with the new image

    >>> chmod("$base/$file", 0755);

    return $this->constructChild(basename($file));

    I've done that and still the same issue. Have also tried clearning my cache, and restarting the WAMP server.

    Any help would be great

  • TF-35Lightning
    Avatar
    Community Member
    137 Posts

    Re: Image inserter, doesn't update its preview pane with just uploaded file thumnails??? Link to this post

    also notice other users has the same issue here, but again no one has helped.

    There are not image display when i insert image ! Link to this post
    http://silverstripe.org/general-questions/show/258360#post258360

    I can't insert image ! Help me Link to this post
    http://silverstripe.org/customising-the-cms/show/274852#post274852

  • Willr
    Avatar
    Forum Moderator
    5508 Posts

    Re: Image inserter, doesn't update its preview pane with just uploaded file thumnails??? Link to this post

    Are you uploading the image into a subfolder? or the base assets/ folder.

    Are you on 2.3/ or 2.4. If you are on 2.3 then try quickly 2.4 and see if the error is still occurring. Recently some changes have gone into that side bar in 2.4 so that could either be the cause or the solution!.

    Then the other usual things to double check - make sure assets/ is read/writable by the webserver so that the thumbs can be generated.

    If you can still reproduce the issue on 2.4 then it might be wise to make a ticket on http://open.silverstripe.org

  • TF-35Lightning
    Avatar
    Community Member
    137 Posts

    Re: Image inserter, doesn't update its preview pane with just uploaded file thumnails??? Link to this post

    Thanks Will your a bloody legend, 2.4 appears to have fixed the image refresh issue.

    This is the first time I will be using Silver Stripe in a project, I have a pre-existing basic webpage that was built in dreamweaver which utilizes some JavaScript for some roll over actions in the nav. I'm only just realizing that if I want to use Silver Stripe as a CMS that I guess I need to copy and paste in the websites content into the Silver Stripe CMS and customise a template etc is that right???. I initally thought that SS might be able to edit my pre-existing html pages. I'm now seeing that that is incorrect is that right?

    How will I go about working with the javascript in the nav etc?

    Thanks for the help

    995 Views
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.