Hi Uncle Cheese,
Big fan of your work, i am having a little issue with the latest trunk version of DOM, SWFUpload and SilverStripe 2.4 Beta2. We have popups with the following code.
public function getCMSFields_forPopup()
{
return new FieldSet(
new TextField('Title'),
new SimpleHTMLEditorField('Description','Description'),
new SWFUploadFileIFrameField('FeatureImage','Feature Image')
);
}
We originally just had FileIFrameField but as you know the dropdown list does not work so it is impossible to select already uploaded images. So i decided to see if we can use SWFupload however we get the following error
Fatal error: Class 'Image_Uploader' not found in /path/to/files/SWFUploadFileIFrameField.php on line 47
As it appears Image_Uploader class is no longer in the core image.php file?
Any ideas, am i wasting my time will i be able to select existing files with in a popup using DOM and SWFupload?