Hi,
I will give $800 to someone that can implement ajax for image uploading / deleting on this module.
If you plan to undertake this, you MUST say it in this thread, so I will attribute the project to you.
Also, before starting this project, make sure this bounty isn't closed. I will let it run a few day to see of someone pops up, but if you see this issue closed it will mean the bounty isn't anymore open to bids.
If you are attributed the development, it must be completed within 2 weeks.
Project specification:
I would like the current uploading mechanism replaced with AJAX: when a user uploads a picture: there must be a small animation saying something like " Please wait while you image is being uploaded". Once image is fully scaled and uploaded in the background, it will display its thumbnail just as it does now.
Deletion: it should also work for image deletion: when user click on the "delete" box, it should delete the image from the node and system.
Notes:
- It should work perfectly well with SEVERAL images uploads and SEVERAL cck image fields on a single node
- When users finishes adding / deleting images, he must still not forget to "submit" the node for the changes to take effect. Maybe there should be a way to reming this to him ?
-Even if I sponsor this development, I will make the new imagefield available to anyone.
Cordially,
Brakkar
Comments
Comment #1
bojanz commentedI would take it.
I can make the upload field work like this: http://www.fyneworks.com/jquery/multiple-file-upload/ if you'd like.
I can also add a progress bar, but since this is not possible with native PHP, one of these things would need to be done:
1) dependance on a small CGI script
2) patching PHP
3) Using a flash object for the upload field
2 weeks is plenty of time for me to finish the project, and implement any suggestions you might have.
Would you like me to remove the old upload system, or have an option to toggle the old and new?
I can make both happen.
Send me a message (I have the personal contact form enabled in my drupal profile) if you have any questions.
Bojan
Comment #2
Robardi56 commentedTO EVERYONE: Since Bojanz decided to work on this, DO NOT enroll in this, until I'm sure Bojanz and I can get precisely to what I want or not.
TO BOJANZ:
Thanks for your participation.
Please don't start to work on it until we are SURE that your work can meet my requirement.
I read your message, here are some comments:
- I visited your page with the example of multiple file uploads.
In your example, the images thumbnails are not visible once images are selected. I only see the name. What I want, is to have the CCK imagefield work and display exactly as it does now: display the thumbnails on top of each other.... all I want changed is the upload process. So because your example doesn't show the thumbs, i'm not sure it would fit the purpose.
As for the progress bar during the upload... how is the current drupal file system doing ? When you upload a file in Drupal built in system, it shows a progress bar. I like the way it does and would like something similar for image uploading with this CCK module. I don't know if they use PHP, flash or cgi.
Brakkar
Comment #3
bojanz commentedI gave you the link as an example of this behaviour:
- one file upload field, you select a file, field goes blank, file added to list bellow. After clicking on upload, every file from list is uploaded.
Wanted to know if you thought that it would be a good solution (it's frequent among the ajax uploading scripts).
I can do it some other way offcourse.
I will make the thumbnail displaying code myself, based on how it looks now.
You will have a chance to correct me after I'm done offcourse. And I am open to any suggestions anytime.
I am not sure what method drupal uses, I can check when I get back to my computer if you want to know.
I can implement the progress bar like in drupal, no problem.
I am also open to discussion on ICQ/MSN/Yahoo/Jabber/Email (or whatever your preffered method of communication is).
Bojan
Comment #4
Robardi56 commentedWork is attributed to Bojanz. Discussion goes private. Module will be posted once completed.
Comment #5
quicksketchWoah woah woah! Let's try to get the Imagefield 2.0 implementation working if this feature is going to happen. It already (mostly) supports AJAX uploads utilizing the existing core upload.js file. Let's try to make that work.
If you have an existing CVS checkout (you should if you're working on patches), get Imagefield 2.0 by switching to your imagefield directory and
cvs update -r DRUPAL-5--2. To be fair, let's share the credit with the people in this issue http://drupal.org/node/72778.Comment #6
Chill35 commentedThis can done with jquery : ajaxStart, ajaxEnd, using DOM scripting and a GIF...
IMO you should choose someone who'll use jquery as this is the DOM scripting javascript library used in Drupal 5.1.
Comment #7
Robardi56 commentedquicksketch, I wrote you an email a couple of days ago, you didn't get it ? Your reply would have surely helped go in the right direction as we were unaware about work on a version 2 with ajax already.
Anyway, I hired Bojan to complete Imagefield 2.0 (instead of going from scratch for ajax), squash all bugs, and add a "delete" ajax feature. So there should be a full release of imagefield 2.0 soon.
Cordially,
Brakkar
Comment #8
dopry commentedNice to know you've found your man... Since the bounty is accepted I'm closing this issue.
Comment #9
quicksketchbrakkar, Yes sorry I didn't get back to you. I couldn't promise a completion date for such a feature anyway with my other obligations. I'm glad bojanz has picked up the torch.
Some more notes to bojanz: you MUST improve upon the existing implementation for this to be contributed. As Chill35 commented, this will definitely need to be a jQuery implementation, support for 4.7 is not necessary.
Comment #10
quicksketchSorry I didn't mean to reactivate the post. Editing at the same time... I'll mark as duplicate of the above issue since this really is the same thing.
Comment #11
timl commentedHi, this looks very promising and exactly what I'm after re: image solution for my sites.
Hopefully this will solve the cck+imagefield+imagecache solution and allow multi uploads and sane previews.
If you haven't already can I suggest that yourself and boarK have a quick chat - since he has used a fantastic flash plugin for queuing uploads (selecting all files from single dialog)
http://drupal.org/node/143153
Though he is using file paradigm rather than imagefield cck integration