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.

Form Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Allow frontend users to upload big images (and treat them as files)


Go to End


1179 Views

Avatar
firstpixel

Community Member, 19 Posts

1 May 2016 at 9:08am

Hi all,

I have got a problem that I cannot solve. Maybe anyone can help.

I have got userforms and created a form where the frontend users can upload files. This works fine for files, even with huge files (like 80M or more). But if the user uploads an image that is bigger than about 1.8M, then I get a server error in the backend. I then have to delete the image via ftp and synchronize, to be able to enter the folder in the cms. The website is on shared hosting and I guess that we don't have enough RAM to process big images properly.

Is there a way to treat images like normal files and simply store them without the RAM-critical thumbnail creation or whatever is happening to them after the upload?

Thanks a lot.

[SS 3.1.9]