Jump to:

23370 Posts in 18160 Topics by 2864 members

General Questions

SilverStripe Forums » General Questions » _resampled directory not created.

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: 1245 Views
  • frodeaux
    Avatar
    Community Member
    15 Posts

    _resampled directory not created. Link to this post

    When adding an image to a page, doing a "save" of the content apparently
    wants to resize the image and put it into the "_resampled" subdirectory.
    That directory is not being created and the modified image is not being
    created, though the link to the (non-existent) resized image is being
    inserted into the saved HTML.

    Running OS-X 10.6 with apple's Apache and PHP (which is version 5.3).
    GD is enabled. Permissions on parent directories of the one containing
    the images are 777 all the way up to "assets" and the document root.

    I see a lot of forum entries on this problem going back a couple of years,
    but no definitive solution. What should I look at to fix this? Any help
    would be appreciated.

  • lawless
    Avatar
    Community Member
    33 Posts

    Re: _resampled directory not created. Link to this post

    Did you manually create the _resampled folder in the directory you're working in and give it 777 permission?

    You'll probably need to delete the image without the thumbnail and re-upload it once the _resampled directory is created.

  • frodeaux
    Avatar
    Community Member
    15 Posts

    Re: _resampled directory not created. Link to this post

    OK... I manually created the _resampled directory and set the permissions.
    Removed the previous images and re-downloaded to the directory containing
    the _resampled directory.

    Still: the resized image whose name appears in the generated HTML
    is not created in the _resampled directory, only the downloaded file
    itself but not a resized image in the subdirectory.

    1245 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.