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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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   1874 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