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:

Customising the CMS /

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

ImageField Parameters


Go to End


2 Posts   2102 Views

Avatar
suntrop

Community Member, 141 Posts

27 August 2010 at 1:15am

I want some specific pictures to be uploaded into the proper folder. After some googleing I came across this page

http://doc.silverstripe.org/imagefield

and luckily the last parameter is what I need :-)

But what are all the other ones? First I tried to look through the API docs but I couldn't find any information what the parameters are. Just this page http://api.silverstripe.org/2.4/forms/fields-files/ImageField.html
But that isn't helpful in any way I need it :(

Avatar
Puppy

Community Member, 10 Posts

31 August 2010 at 12:56am

It is a subclass of an FileIFrameField.

http://api.silverstripe.org/2.4/forms/fields-files/FileIFrameField.html

If you run into a problem next time, search your /sapphire/ directory for the class name and you will be able to see how it was made.