Reply
Java Batch Photo Upload Tool
Old 03-22-2008, 10:59 AM Java Batch Photo Upload Tool
Experienced Talker

Posts: 35
I haven't searched extensively yet, but I'm sure others out there might have the same question. I am looking to include a Java Batch Photo Upload tool on my website - very similar to how facebook has theirs. Does anyone know of any solutions for this?

I am looking to image resize / optimize client side > then upload server side. Using a Java Applet might be the solution to this.
__________________
Quote:
Every time you guys release another browser version it guarantees me at least a year's worth of small contract jobs. Now That's Job Security! -IE
sonicvybe is offline
Reply With Quote
View Public Profile Visit sonicvybe's homepage!
 
When You Register, These Ads Go Away!
Old 03-22-2008, 11:10 AM Re: Java Batch Photo Upload Tool
mork29's Avatar
Extreme Talker

Posts: 243
Name: Keith Yelnick
Most of this can be done using AJAX technologies. I know that Drupal has modules specifically designed for this purpose.
http://ftp.drupal.org/files/projects/imagefield
http://ftp.drupal.org/files/projects/imagefield_crop
The first allows people to upload images, the second allows the person to crop the photo and do some other fun stuff. You want to avoid Java applets, as they are very slow and akward. Also remember that not everybody has a Java VM installed and correctly configured on their system, and you also can't be sure what version they have and what incompatibilities that will cause. As soon as I see a Java applet on a site, I usually close it right away.
mork29 is offline
Reply With Quote
View Public Profile
 
Old 03-22-2008, 06:57 PM Re: Java Batch Photo Upload Tool
Experienced Talker

Posts: 35
Quote:
Originally Posted by mork29 View Post
Most of this can be done using AJAX technologies.

Sweet, so AJAX can handle client side image manipulation? I will check it out right away. I am working on a community website, and am looking for photo hosting solutions. I'm so anxious to get things together.
__________________
Quote:
Every time you guys release another browser version it guarantees me at least a year's worth of small contract jobs. Now That's Job Security! -IE
sonicvybe is offline
Reply With Quote
View Public Profile Visit sonicvybe's homepage!
 
Old 03-23-2008, 04:04 AM Re: Java Batch Photo Upload Tool
chrishirst's Avatar
Super Moderator

Posts: 13,576
Location: Blackpool. UK
Quote:
so AJAX can handle client side image manipulation
Nope, AJAX IS javascript at the client side so doesn't have access to client files.
javascript can be used to "resize" images that are being sent from the server to the client, though it's not really a resize, just "squashing" them into a smaller container.

If, of course. You have some image tools that are available on your server you could invoke these operations using AJAX once the image has been uploaded, and of course your upload process could also handle automatic thumbnail generation.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 03-23-2008, 04:11 AM Re: Java Batch Photo Upload Tool
chrishirst's Avatar
Super Moderator

Posts: 13,576
Location: Blackpool. UK
There are some Image Editing JAVA Applets over at HotScripts.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 03-23-2008, 06:32 AM Re: Java Batch Photo Upload Tool
Experienced Talker

Posts: 35
Thanks for the feedback,

mork29 > After using Facebook's batch image upload applet, I was left with a good impression. For this reason, I am still a little persistent on the applet idea, only because I have seen it work well. Sometimes users take a one time learning curve (patience with java applet/active x), in order to get extra benefits.

Chris > I have tried it with the upload and convert using PHP image GD functions way. I'm really looking to make this image resize / size limit feature a client side operation. The resizing on the server was ok for a few images, but I believe time/effort should be cut down significantly for the user.

Another option to a JAVA applet would be to make a custom VB app that can manage user images / galleries, connect to mysql database, and upload to the site. Something to download and install, similar to how Picasa web albums works, except upload to my site.
__________________
Quote:
Every time you guys release another browser version it guarantees me at least a year's worth of small contract jobs. Now That's Job Security! -IE

Last edited by sonicvybe : 03-23-2008 at 06:34 AM.
sonicvybe is offline
Reply With Quote
View Public Profile Visit sonicvybe's homepage!
 
Old 03-23-2008, 09:35 AM Re: Java Batch Photo Upload Tool
chrishirst's Avatar
Super Moderator

Posts: 13,576
Location: Blackpool. UK
Yep a custom, installable application would work very well.

something like Irfanview with FTP capabilities
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 03-23-2008, 04:45 PM Re: Java Batch Photo Upload Tool
QiSoftware's Avatar
Skilled Talker

Posts: 62
Location: U.S.
For a Java Applet to work [client side] you would still need either a JSP/Servlet [java server side support] or some other server side script to handle the upload request.

I often use/develop Java Applet-->Java Servlet communications to handle client/server requests.

Q...
QiSoftware is offline
Reply With Quote
View Public Profile Visit QiSoftware's homepage!
 
Old 03-25-2008, 11:36 AM Re: Java Batch Photo Upload Tool
willcode4beer's Avatar
Webmaster Talker

Posts: 695
Name: Paul Davis
Location: San Francisco
Good 'ol Jakarta Commons FileUpload :-)
__________________
Paul Davis
willCode4Beer.com (coding for all the right reasons)
willcode4beer is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Java Batch Photo Upload Tool
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.15153 seconds with 12 queries