I may have run across one or both of those. I really don't want to have to add mootools to my default prototype just for this :)
So I will take a look at the other and maybe your plugin. You are right about the files being orphaned - whether temporarily or permanently. The issue is - if the images are uploaded, will I get anything back to the form itself? 1) Does the flash leave a signature in the form for me to check for a corresponding image in the temporary holding place. Forexample, for every instance of the swfupload, (4 in this case) will I also create/get a unique var that matches, so when I file is uploaded the file gets this identifier, and when the form is uploaded, it looks for this identifier? 2) or Will I get a temp file name returned from teh swfupload to hide in the form? Also, can the form be forced to wait until the images are uploaded? or does it matter? I can queue or cron the clean up of temp files that remain after a certain time as they would be moved if they were matched to a coresponding item/form upload. Thanks Kevin On Jun 23, 11:20 am, Johannes Heinen <[email protected]> wrote: > Hi, > > fancyupload and swfupload (google shows the urls) are the 2 flash > upload scripts i know that can be easily integrated into a form (or > can be used without one, though). > > There are symfony plugins for swfupload, i don't know if one for > fancyupload also exists. On of them, the 1.2 plugin, was written by > me, but it is more intendent to be > used within a sfForm together with javascript-serialization, so this > should be less interesting for you. I you only want to have a push > button, than you'll be probably > lucky with fancyupload, though it requires mootools to run its > frontend. swfupload is more flexible and highly customizable. > > Note that you'll face a general problem: At the time the user puts the > files onto the server, still no unique identifier exists for the > dataset that would have been saved if > the user had had submitted the form. > > cheers > de joshi > > On 23 Jun., 20:09, Eno <[email protected]> wrote: > > > > > On Tue, 23 Jun 2009, kevinkevin wrote: > > > What I want is a flash piece that mimics the file tag [______] > > > [browse] and then when you click browse it is able to browse the PC > > > file structure and limit files to certain extensions and also file > > > size (say 2M) . Then it could either upload the image in real time > > > and save a key/id to a hidden tag in the form? or dynamically generate > > > and populate a file tag in the form with the file path. > > > > Does this make sense? and is anyone familiar with any small flash > > > type scripts that do this or similar to solve my problem? > > > We successfully used the imagemanager component with TinyMCE to manage > > images uploads. Its integrated into the WYSIWYG editor so the user can > > edit descriptions and insert text right there. > > > Note: Image manager is a plugin for TinyMCE and is not free (but quite > > cheap). > > > Seehttp://tinymce.moxiecode.com/plugins_imagemanager.php > > > --- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
