Forum Moderators: phranque

Message Too Old, No Replies

Options to improve user's uploading pics

         

csdude55

1:22 am on Mar 7, 2018 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Currently, I use an iFrame and hand-rolled Perl script to let the site user choose a picture from their hard drive, then the iFrame shows "Loading..." while uploads the image to a /cache/ directory on my server, resizes it, and shows the thumbnail back to the user.

I thought it was pretty slick, but I built it in 2012 and I guess by today's standards it's just not that cool anymore. Nowadays, I guess people want to be able to upload multiple pics at once, see a progress bar, etc. Which, I guess I could mock-up a progress bar, but I just don't think there's a way to upload multiple pics at once.

Worse, I hear complaints from people all the time that say "it doesn't work", but after all these years I have yet to get any type of explanation of exactly why it's not working, or how to duplicate the problem. I suspect ID-Ten-T errors, but I just can't be sure.

So rather than reinventing the wheel just to have people continue to complain, I'm hoping maybe you guys can suggest a cookie cutter that might look better than what I can build, be more tested, and more user friendly?

I'm using jQuery for the new site rebuild, so I was thinking about this:

[uploadify.com...]

It looks kinda cool in the demo, but the fact that it relies on an SWF isn't ideal... especially if users don't load Flash by default. There is an HTML5 option, but no demo so that's daunting. And the fact that nothing has been posted in the Help forum since 2013 doesn't exactly fill me with confidence.

And the separate "Upload" button after they select the file seems like it's just asking for trouble... waaaay too many people would choose the file and think it's uploaded automatically.

Then there was this:

[github.com...]

But it, too, has the separate "Upload" button. And it looks pretty complicated to get it up and running, so that's already overwhelming.

Can you guys suggest anything else I should be looking at? I don't mind paying for something if it's stable and makes my job easier :-)

NickMNS

2:33 am on Mar 7, 2018 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I don't have anything to suggest, but I would strongly caution you on using anything that is Flash based. Flash will no longer be supported within the not too distant future. Chrome is already blocking Flash by default, you now have to go to settings to allow it. So be very weary.

more info here:
[webmasterworld.com...]

csdude55

3:52 am on Mar 7, 2018 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



That's what I was thinking, too, Nick, but everything I'm finding seems to be Flash based! I know there has to be a good (and current) option available, I just haven't been able to find it :-(

robzilla

8:42 am on Mar 7, 2018 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



This one looks like a good match: [danielmg.org...]

[edited by: robzilla at 8:43 am (utc) on Mar 7, 2018]

TravisDGarrett

8:43 am on Mar 7, 2018 (gmt 0)



Check this :

[css-tricks.com...]
[html5demos.com...]