22977 Posts in 11806 Topics by 2826 members
|Go to End|
29 July 2011 at 3:31am
Since the last Post i know that not everything is out of the box with Silverfast. When i use ImageField in FE i got no input field. i just got the message: (german)
Bild kann angefügt werden, sobald Sie den Datensatz das erste Mal gespeichert haben.
means more or less
You can add the image after you stored the data record for the first time.
Makes sence, because there is no record ID at this time. But when i pass the data with session there has nothing changed.
I read some post here about passing the id as third parameter, it was the only advice i found, but don't work
ImageField( FIELDNAME, SHOWNFIELDNAME , ANDHEREID)
Does somebody know, how to use ImageField in FE forms?
i attached an image of that ImageField
29 July 2011 at 4:19am
For FrontEnd forms use SimpleImageField (core - http://api.silverstripe.org/2.4/forms/fields-files/SimpleImageField.html). Sometimes Uploadify (separate module - http://www.leftandmain.com/silverstripe-modules/2010/08/26/uploadify/)
|Go to Top|