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

Frontend File Uploading


Go to End


2 Posts   1948 Views

Avatar
jaybee

Community Member, 49 Posts

25 December 2010 at 1:14am

Edited: 25/12/2010 1:17am

I have been unable to find any resources on how to upload files from the frontend. How do you handle file uploads from the frontend? Does anyone know of a module that does it on the frontend or do you have any code that you can paste? I don't care about the backend side of things at all. What is Silverstripes way to handle file uploads? I need to associate the uploaded files with a custom User (not part of Member class) Thanks!

Avatar
swaiba

Forum Moderator, 1899 Posts

25 December 2010 at 3:52am

Checkout... SimpleImageField... I believe you'll find what you are looking for there... it is an internal silverstripe class so no need for a module.

If, however, you want something special (or to handle many images) checkout... http://www.leftandmain.com/silverstripe-modules/2010/08/26/uploadify/... some nice screen casts showingit's use too