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

Upload not saving to assets/_resampled/ folder


Go to End


2 Posts   1732 Views

Avatar
JonShutt

Community Member, 244 Posts

19 September 2011 at 9:23am

Hello,

I was having problems upload files through the CMS at all. Eventually I found this

http://open.silverstripe.org/attachment/ticket/5547/2.4.1-FileUpload-2.diff

which worked, in that i can now upload files.

But, it's not saving resampled images at all - meaning that basically any image I upload, and add into a page isn't showing up.

Any suggestions? I have to get this site up and running by tomorrow!

As a temporary measure, I've tried putting the direct links into the html in the CMS - eg <img src="assets/Uploads/2.jpg" width="340" height="225" /> however the CMS rewrites is back to <img src="assets/Uploads/_resampled/resizedimage340225-1.jpg" width="340" height="225" /> when I save the page... which results it a missing image on the page. Is there a way to stop SS re-writing this path?

Avatar
JonShutt

Community Member, 244 Posts

19 September 2011 at 9:39am

SOLVED!

i removed all the assets folders which silverstripe had created. and created them all through filezilla ftp. I set the permissions in there.
it seems that when silverstripe created the _resampled folder, it couldn't write to it. but when I created the folder, it could....