Leave a comment


 

Rakesh said on June 17th, 2008 at 1:44 pm :

Thanks buddy..this site really helped .. to get all the supporting files of fancyupload. Its working well for me now :)

Regards
Rakesh

 

Mark said on June 17th, 2008 at 6:32 pm :

Thanks for that, Brother! That really helped!

Mark

 

Bruno said on June 18th, 2008 at 10:22 am :

Hi,
Thanks a lot for this!
I’m needing this to upload swf and flv files, I’ve looked at your script.php file and it seems that you manage that between lines 10 and 27, but i don’t know how to modify this for my purpose. Any idea of how to solve this?
Thanks in advance!

 

Pete said on June 18th, 2008 at 10:31 am :

Hi Rio,
Just downloaded your sample excellent!! Thank you.
As I’m using ASP I changed the form action to my asp page.
It uploads the file ok but it does not say complete or move onto the next upload. IS there an onEvent not firing??
Here is my ASP page code and It would be great if you could help.

Cheers
Pete

 

admin said on June 18th, 2008 at 3:18 pm :

Hello Pete
Unfortunately I’m rather unfamiliar with ASP, so I would recommend reading this page.

 

Pete said on June 19th, 2008 at 6:44 am :

Unforchinatly Ben never posted any code samples but I have posted a comment and will wait and see. Cheers For your help Pete

 

Sarm said on June 22nd, 2008 at 9:55 am :

Thankyou soooooo much

 

herrkaleun said on June 23rd, 2008 at 1:09 pm :

looks pretty cool, thanks man :)

 

hans said on June 23rd, 2008 at 5:56 pm :

This is a bomb script :) The best uploader

 

Toytoy said on June 24th, 2008 at 5:01 am :

Thanks for sharing it harald.

By the way, I had fixed already that problem I have told you, it’s that if you’re flash plugin (this is in linux), is in build less than 124 (I think so), it doesn’t work. The flash plugin I have with problem was in build 48, so that is 9.0.48.0, It works great in 9.0.124.0. In order to know that, you can check under adobe’s site http://www.adobe.com/products/flash/about/.

BTW, I had added this stuff like

if (Browser.Plugins.Flash.version < 9 && Browser.Plugins.Flash.build < 124) then it should do the fallback demo, this is just in linux. I tried with my friends notebook, he has 9.0.45.0 in Windows XP, and it works actually. Hope this helps!

 

Bruno said on June 24th, 2008 at 6:52 pm :

Hi,
First thanks a lot for the other files upload fix.
I’m trying to write a name and description of the file upload into a mysql database, i know the php part, but i’m not getting where to insert it, and how to implement it on this script. Any idea of how to do it?
Thanks in advance!

 

Janos said on June 25th, 2008 at 4:24 am :

HI there,

any idea how I could add a checkbox or radio button or even just a input text field to each file and then send the value of this together with the file to the upload script? I have been pulling my hair out over this… no I’m bald and still no success ;)

 

Harald said on June 25th, 2008 at 9:17 am :

Can you add a link to the original site @ http://digitarald.de/project/fancyupload/

 

hans said on June 26th, 2008 at 3:58 am :

I hope soon any multiple-file selection menu to upload to differnent maps.

:)

 

Vinnie said on June 27th, 2008 at 2:13 pm :

thanks a million mate. You’re fantastic! Keep the good work.

 

Vinnie said on June 27th, 2008 at 3:59 pm :

I have just one question: How to show only the “Browse Only Images” option, since I need to upload only images. Thanks in advance.

 

DukaCar said on June 29th, 2008 at 2:23 pm :

Hi,

thanks for script improvement, it’s great!
But I can’t gat it working in FF3, any idea why.

Regards,
DukacCar

 

Lance said on June 30th, 2008 at 8:01 am :

Hi,
Thanks for this, it got me up and going! I would love help on passing/posting a value with the file.

Thanks,

Lance

 

sarbesh said on June 30th, 2008 at 10:49 pm :

this is a very nice uploader. thanks buddy….

but i also wanted to post other information along with the file. please help me on this.

 

sarbesh said on June 30th, 2008 at 11:35 pm :

thanks .. now i know how to post other varialbes as well from your “best comment” page.

thanks a lot..

 

Shain said on July 4th, 2008 at 10:54 pm :

Thank you for much for putting this together. You saved me a lot of time and effort. Really appreciate it.

 

nexen said on July 8th, 2008 at 4:04 am :

Hooo damn thanks a lot man, you are my salvation, this is a great job to put the zip file clean to work i think is better work that the original page that allready SUCK!, thanks man apreciated..
PD: sorry bad english :$

 

patrick said on July 9th, 2008 at 6:35 am :

THANK YOU THANK YOU THANK YOU!!!

 

Nick said on July 10th, 2008 at 12:15 am :

Awesome work!!

Please try if the “limitFiles” parameter works for you in IE. Basically the program would upload all your selected files even if you’ve set the value for “limitFiles”.

The problem is caused by that in Flash, the ExternalInterface.call always returns null.

I think it’s the problem with mootools framework… not 100% sure.

If you can solve this problem it would be really great!

 

Addy said on July 10th, 2008 at 9:42 am :

I can’t seem to get this working for files larger than 2M. Tried increasing the size check but still no success.

Any ideas??

 

Dipen said on July 10th, 2008 at 1:26 pm :

Excellent Work buddy .

Thanks a lot .

 

3 » [WTS] Spots on PR4 Tech-related Blog said on July 10th, 2008 at 5:22 pm :

[…] highlights from there have been the FancyUpload update and the AJAX Lyrics retriever […]

 

MD said on July 15th, 2008 at 3:48 pm :

Whoa! Best fancyupload support page. you are the man! Now i need to convert this to classic asp.

 

piep14 said on July 16th, 2008 at 3:02 pm :

Super projet. Seul point négatif, ca devrait afficher une miniature de l’image téléchargée ;)

Bon courage

 

Max said on July 18th, 2008 at 12:33 pm :

Is it possible to remove Browse button when the user select more file then the limitFiles property?

If i select more files then the limitfile property the files not appear on the list, but they are uploaded without problem on server. is it possible to avoid this?

 

richard said on July 28th, 2008 at 11:41 pm :

Hi, do you know how I can use fancyupload with radio button? I need to send other inputs like radio button to know who’s uploading who. Can you email me asap? I badly need some help right away. Thanks for reading hope you email me….

cheers, richard
r

 

RoelZ said on July 29th, 2008 at 3:42 am :

Yesterday I was breaking my head over this very nice AJAX tool!
I guessed I had enough knowledge about PHP/JS and AJAX. But I really couldn’t get it to work.

Perfect timing Rio. This package of yours is working out-of-the-box!
Thanks a millions!

 

Georgi said on July 29th, 2008 at 4:17 am :

The script is still not working on IE6
the same mistake – undefined on 266 or 2914 with trunk.js

Any ideas?

 

dave said on July 29th, 2008 at 6:02 pm :

What would be a good way to have a text field display below each image as it’s added(before actual upload), so someone can add a name or description. So when the click upload the field is passed in the initial array?

 

greg said on July 31st, 2008 at 9:15 pm :

Hi,
Thanks for your example here.
I got the uploader to work on my page, i can select files and begin the upload. However, I cannot move the uploaded file. I’m using an identical script to the your move_uploaded_file. I know its not permissions (I made sure the directory and parent directories are 777 on my server) Also, is_uploaded_file returns true.
Any ideas or suggestions would be greatly appreciated. I am using PHP 5. Thank you very much :)

 

pcdinh said on August 5th, 2008 at 3:08 am :

Can I embed this tool into a form and make the file upload and input post happen at the same time? I see a demo version named “Classic form” with SWLUpload but I don’t know if this case is addressed in FancyUpload

 

umut said on August 14th, 2008 at 4:51 am :

Thank you Rio Akasaka and other working peoples for this work.
This upload script results are not support windows-1254 or iso-8859-9 for charset,are they?

 

Tomas said on August 22nd, 2008 at 5:24 am :

THANK YOU!!

 

Frank said on September 9th, 2008 at 10:35 pm :

for some strange reason, the uploader does not instigate itself when i load it, i.e. the fallback is still visible and the class of the uploader stays as hide, be it locally or hosted on a localhost. i’m experiencing the exact same problem when using the original source of fancyupload as provided at Harald Kirschner’s site. furthermore, i’m, getting two different error messages when i click on the options on two different PCs using firefox, one displays __flash__argumentsToXML is not defined with the swiff object loaded at the bottom of the page while the other throws obj is undefined without the swiff object

 

eee said on September 11th, 2008 at 2:07 am :

how to use data with $_POST[‘xxx’]

 

cesar said on September 11th, 2008 at 3:53 am :

Great package, thanks. Im interested to see more ideas on extending it.

What is the difference between mootools-trunk.js and the mootools-1.2.js found at mootools?

 

Christian said on September 19th, 2008 at 4:10 am :

what an amazing script. Thank you very much.

How can i change the folder to root/images?? “../images” doesn’t work

 

Robin said on September 20th, 2008 at 10:31 am :

Hi, excellent job, but however I’m having an error showing after the upload : {“result”:”success”,”size”:”Uploaded an image (image/jpeg) with 203px/291px.”} with the failled icon. The upload work, the files are there, but I want this to disapear. Thank

 

djusy said on October 3rd, 2008 at 3:16 am :

Hey great script. I have just 2 questions ? How can i disable max limit upload which is now 5 to unlimited and how can i increase the allowed maximu size of image to upload which is now just 2MB like to 6MB or 8MB

 

Adam said on October 6th, 2008 at 2:33 pm :

Howdy,

Thanks for improving the Uploader example — your site helped me to get mine working! A quick question…I am trying to pass a hidden field with the form submission, but the process fails. Any idea how I could do this?

Thanks,
Adam

 

meme said on October 9th, 2008 at 2:26 pm :

cheers, finally a working demo
really helpful, thanks a lot!

 

Javier Constanzo said on October 9th, 2008 at 3:40 pm :

Thanx dude, you were very helpful!

Gracias! ;)

 

Nick said on October 9th, 2008 at 7:56 pm :

Question: I’m trying to use this script to allow various logged in users to upload images to “their” folder, which is determined by their $_SESSION[‘id’].

What I need is a way to send this session ID along with the AJAX request that contacts script.php, but I can’t seem to find the request URL.
Thanks in advance.

Tha

 

Henri van de Geest said on October 10th, 2008 at 5:37 am :

Thanks! it looks and works great.
Only i big problem for me:
I just cant get it to work with uploading files over 2mb in size.
i changed the code a bit to remove the limit, but is doesnt seems to help.
Can you help?

 

nealbreeding@gmail.com said on October 10th, 2008 at 10:43 am :

when uploading multiple large files, over 2 megs, I see on the upload progress text status (that is counting the bytes) and “infinity” in the text. any ideas how to fix this. It isn’t causing problems

 

Winther said on October 16th, 2008 at 7:27 pm :

Thanks, you helped me out big time!
Do you think you could make it compatible with flash 10?

 

Scorpion380 said on October 23rd, 2008 at 8:33 pm :

Thanks a lot. Saved me hours of editing the source from the Fancy upload site.

Tested it on my site and works like a charm. Can you tell me how one can insert the uploaded file path in a mysql table. Where do i run the query (in which file)?

Thanks in advance.
Scorpion380

 

Alex said on October 27th, 2008 at 6:46 pm :

I get a message with error while clicking the browse files or browse only images text. Does anybody knows a solution?

 

vennasa said on October 27th, 2008 at 10:44 pm :

Yep ! Marvelous! Thank you so much for sharing.

Like Scorpion380, I’m also would like to know how can I insert the uploaded file path in a mysql table. Where do i run the query (in which file)? Could you please help me out and thanks a lot in advance.

 

Mark said on October 31st, 2008 at 10:28 am :

Demos are working in Internet Explorer 7 but when I use firefox 3 it displays an alert box that just says “error” Is something wrong or has this not been tested?

 

Ehren said on November 3rd, 2008 at 3:57 pm :

Thank you so much! HOLY MOLY, I thought I was going to die trying to wade through the code.

 

Temuri said on November 13th, 2008 at 11:42 am :

Hi there, I am having an issue with FancyUpload and IE – ExternalInterface.call(). I’ve described the problem here:

http://groups.google.com/group/mootools-users/browse_thread/thread/cba425b1bfe71e64

Have you ever experienced this?

Tah

 

hex said on November 16th, 2008 at 3:31 pm :

this uploader doesn’t work in IE7

 

rex said on November 17th, 2008 at 9:14 pm :

After playing with FancyUpload ALL DAY to no avail, I’m grateful for your mod. I uploaded it & it works & the files are uploaded, BUT, it writes “httpStatus 500″ for each file.
http://www.rexolio.com/test/fancyuploadpackaged/uploader/index.php

 

Andres said on November 18th, 2008 at 12:23 am :

Hi, for some reason the online version stopped working some time these passed few days I use IE6 & firefox 3, i was working finde but now the file input hides and the quee shows at pageload? any idea or is it just me and my friends?

 

tulak said on November 25th, 2008 at 4:22 pm :

Hello, if anybody have full package working with flash 10 pls share it or send me by email, thanks.

 

neal said on December 11th, 2008 at 3:15 pm :

flash 10 seems to break this code :(

 

ronnie said on December 12th, 2008 at 1:59 pm :

Hi,
this script does not work with Flash player 10.
Cheers

 

fancyupload said on December 22nd, 2008 at 6:40 pm :

Excellent tool!
Remember that it is necessary to update it if you use the flash player 10.

A greeting.

 

bob said on January 8th, 2009 at 12:50 pm :

Does this work for flash 10? Your live demo just says Error in a javascript alert when I try to click on browse

 

bob said on January 8th, 2009 at 1:08 pm :

I figured it out everyone, get the latest files here (select raw):
http://github.com/digitarald/digitarald-fancyupload/tree/master

 

bob said on January 8th, 2009 at 1:13 pm :

use this to browse only images:

$(‘demo-select-images’).addEvent(‘change’, function() {
var filter = null;
if (this.checked) {
filter = {‘Images (*.bmp, *.tiff)': ‘*.bmp; *.tiff’};
}
swiffy.options.typeFilter = filter;
});

 

rasmus said on January 17th, 2009 at 11:05 pm :

Hi Rio, thanks for the FancyUpload package. Unfortunately the uploader fails after installing Flash 10. Do you think you could find the time to update the package?
Kind regards
Rasmus

 

Mike said on February 25th, 2009 at 12:23 pm :

Any chance of updating this with the fix for flash 10?

Thank you so much for providing this. It’s a life saver for those of us struggling to get the original script working.

 

Mihai Iorga said on March 19th, 2009 at 7:15 am :

it gives ‘error’ when I hit ‘browse’ button, on your site too

 

Thomas said on April 11th, 2009 at 5:18 am :

Thanks loads for helping in this script.

However I have a problem – When I browse for pictures I ain’t getting the file list under the progress bar. I’ve tried this on win xp & vista using both flash 10 and 9. Any help please? THanks.

 

Tjark said on April 18th, 2009 at 9:47 am :

In your demo, with IE I don’t get the file list when I click on browse. In Firefox, it does work. (both on XP)

 

parçakontör said on April 30th, 2009 at 4:11 am :

thank you for all

 

Vik said on June 10th, 2009 at 3:42 pm :

Can you offer any insight (tips or suggestions, not spoon feed :) on how to mod the code so that it is possible to use FancyUpload “Single File Button” more than once on a page? I tried to reverse engineer the code but couldn’t figure out everything, specifically what looks like code for MooTools. Right now I’m just calling the same JavaScript (contained in the HTML example page on Harald’s site) multiple times, for however many upload buttons I need … not efficient, no idea if that might cause problems down the line but it works. Thanks for any help. http://digitarald.de/forums/topic.php?id=127

 

Fran said on June 27th, 2009 at 2:07 pm :

Cracking bit of kit. Huge thanks!

Just one small query… does anyone know if there’s a way to script things so that when a user hits the ‘Start Upload’ button the files that are being uploaded are automatically sent to an email address? Sorry if this is a dumb question but I’m very new to all this.

 

smith said on July 21st, 2009 at 2:17 am :

hi
how to get all files list after uploaded files.

thanks

 

Andrew Martin said on July 27th, 2009 at 5:31 pm :

Thanks so much. Made it go a lot quicker!

 

frank said on August 28th, 2009 at 9:35 am :

I was curious if you updated this for FancyUpdate3? Yours really works well and easily understood but I am having difficulty converting it to the newer version. Thanks

 

miweb said on September 3rd, 2009 at 10:01 am :

I would like to ask what I have to change in your script (in index.php) to show just the images files only without the possibility for users to slecet if they want to choose form all files or just the images. User just clik on “browse” and he will see the image files. Thank U.

 

George said on September 23rd, 2009 at 7:58 pm :

Thanks!

 

Lewzor said on September 24th, 2009 at 11:53 am :

it all works fine , but the files its supposed to upload , dont get uploaded . so !?

 

anand said on October 16th, 2009 at 12:51 am :

Working fine in windows server, but showing http 406 in linux server. Please guide me through this.

 

Adi said on January 5th, 2010 at 2:05 am :

I have problem with Fancy Upload, I use your script!
I not change your script, I try in local.
Sometimes, I upload image file. It’s OK, NO Problem.. BUT…

If I upload image with sound
(ex. *.swf file) it’s not work.
If I upload *.swf file in this file not have sound inside, it’s work.
BUT if *.swf file have sound inside, it’s not work.

Can you help me?

 

Jamie said on January 26th, 2010 at 9:32 pm :

I don’t know if anyone is still around, but I just found this a few months ago and have been playing with it for my site.

I want to know, how can I get it to behave differently after the upload is complete, i.e. remove all the files from the list, or maybe redirect to another page or something?

 

Delwin said on February 14th, 2010 at 1:24 pm :

Thanks for the simple solution to a working FancyUpload script. I tried for several hours to get the original to work and had no luck getting the uploads into a directory on my server. Your solution worked on the first try!

 

Gabriel Meono said on February 26th, 2010 at 5:40 pm :

I´ve made all the steps necesary but doesn´t matter what kind of file I attempt to upload, I will always get “Unsupported file format.” and nothing will be uploaded.

 

Ansar said on April 14th, 2010 at 7:34 am :

Hi, how do I add the file that has been uploaded to mysql?

 

Frans said on April 19th, 2010 at 7:31 am :

Hi Rio,

Thanks for making this. It helped me out and now i’ve got a working functionality. Could you do the same for the showcase “attach-a-file”?
I’m trying to get this work but without succes.

Thanks a lot

 

Alessandro said on July 8th, 2010 at 6:05 pm :

Hello,
i have tried your example and the jfancy upload demo, but it does not work with Internet Explorer 8.

Do you know if there is a fix for it?

thank you very much for your help and in advance for your reply

Alessandro Braccini

 

Kartikay said on August 11th, 2010 at 1:15 pm :

Hey has someone solved the mysql database connection part ???????.
Thanks admin for your effort in making this script :)
Please tell me how to add mysql connection part :(

 

Andy said on September 4th, 2010 at 9:22 am :

Doesnt seem to work with latest IE version :-( Firefox is fine with it, but IE reports error on page :-( Any ideas ?

 

night0 said on November 23rd, 2010 at 6:31 am :

Hi Rio,
great job, this helps with the FU script!

I just have the following problem :
I want to pass on two SESSION variables (userid & storyid) to create the folders in which to store the uploaded images.
What is the best way to implement this in the code?

The session information just doesn’t exist when i try to call it from the script.php.

 

Listari said on December 16th, 2010 at 11:15 pm :

hii,,
thanks for this information..
but how to insert the file description like file name, extension, etc to mysql database??

regards,
Listari

 

thomas said on March 22nd, 2011 at 3:22 am :

Hi buddy !!
Thanks for your share ….
Plz show me , after uploaded succeed images/files… how can i get link that images/files .
I have wrote a code to show link after uploaded , but it can not display link , just display null. You can see demo by me in here … http://uphinh.truyenky.vn/test/build.html
Thanks for your help

 

joe said on June 9th, 2011 at 3:41 am :

is there a way to increase the file size from 2mb to something like 50mb?

 

justin said on June 24th, 2011 at 12:59 pm :

hi, anyone know how to get this working for larger files? trying to use .zip files. maybe around 30 Mb. progress bar is really quick to get to 90% but stops and never moves again. is there any upgrade that i need to make? I thought I made all the necessary changes in the code but its still not working. please help. thank you! :)

 

Philips Tel said on July 6th, 2011 at 12:27 am :

Thank you Rio, I like this site and its contents specially FancyUpload source code. I was asked by my boss to creating a multiple images upload on our project and I think this the good solution.
:-)

 

george said on July 22nd, 2011 at 1:45 pm :

how can I add more extensins to fancyupload?

 

matt said on July 25th, 2011 at 6:16 pm :

hello

Your post was really helpfull, any advise for deleting the file once they are show??

 

David said on March 9th, 2012 at 4:59 pm :

Awesome uploader.

The only problem that I am getting is that after the images are uploaded, I go and retrieve the images, but the images are all corrupted e.g. in photoshop I get the following trying to open a jpg: invalid JPEG marker type is found. The question I have is “how do I fix it?”

My client really needs a ftp uploader so they can receive images from their clients. So any help would be great.

Thanks

 

wilson said on April 12th, 2012 at 12:25 am :

great script works very nice

i have a question how what do i need to change so it let me upload as many files as i want not just 5 images.?

 

Roland Hentschel said on July 29th, 2012 at 11:52 am :

Hi,

Very happy, that I got your modified script running on my server ( using it for video-uploads up to 20 MB now ).
Now I’d like to modify a little more : need only single upload, not multiple. How can I do that ?

thx a lot in advance for any hint !

( -: roland .- )

Jun 17, 2008 | Getting FancyUpload to Work

This script now has Flash 10 support (updated April 12, 2009 with minor fixes). Thank you for your patience.

There is little documentation for Harald Kirschner’s FancyUpload script so I wanted to fill in the gap with a completely functional-out-of-the-box package.

It’s as an easy to use, AJAX-based image upload script that allows people to upload files from the desktop to an online space, making it easy to upload multiple images at once.

FancyUpload 2.0 by Harald Kirschner

Upload it to your web server and visit the folder to see it working.

Download FancyUpload, REpackaged (April 12, 2009). I’ve cleaned up some of Harald’s code, but it’s still his, make no mistake about it.

Live demo available here.

Cogwheel Uploading other file types

Harald Kirschner and others have pointed out that all files that are parsed using any flash uploader are of the MIME type “application/octet-stream”, which makes it useless to identify and authorize a particular file type. Hence at present a usable hack is based on checking the file extension. Replace your existing script.php with this one and modify the third line to suit your needs. If your server has MIME magic in PHP installed, I would recommend using the following to extract the MIME information:

$f = finfo_open(FILEINFO_MIME);
$mime = finfo_file($f, $_FILES['Filedata']['tmp_name']);
finfo_close($f);

Cogwheel Changing the files that are displayed with “Browse Only…”

Go to index.php and modify the line:

swiffy.browse({'Images (*.jpg, *.jpeg, *.gif, *.png)':
'*.jpg; *.jpeg; *.gif; *.png'})

I noted that for example if you want to find pdfs only, you can change it to:

swiffy.browse({'Files (*.pdf)': '*.pdf'})

What I modified What I modified

I added the following lines to script.php, which allows your files to be *actually* uploaded to a folder, in this case uploadedfiles/, which should be created inside the directory that contains the upload script.


move_uploaded_file($_FILES['photoupload']['tmp_name'], "./uploadedfiles/".$_FILES['photoupload']['name']);
chmod("./uploadedfiles/".$_FILES['photoupload']['name'], 0777);

I need to make sure that this method is safe, but for the time being it should work. I also added JSON.php as my server did not have json_encode.

Also written on this day..

This entry was posted on Tuesday, June 17th, 2008 at 11:19 am, EST under the category of Coding. You can leave a response, or trackback from your own site.