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.

General Questions /

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

Upload not saving to assets/_resampled/ folder


Reply


2 Posts   783 Views

Avatar
Futureweb

Community Member, 233 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
Futureweb

Community Member, 233 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....