Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



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

Posts: 35
Trades: 0
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
 
 
Register now for full access!
Old 03-22-2008, 11:10 AM Re: Java Batch Photo Upload Tool
mork29's Avatar
Extreme Talker

Posts: 242
Name: Keith Yelnick
Trades: 0
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
Trades: 0
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
 
Old 03-23-2008, 04:04 AM Re: Java Batch Photo Upload Tool
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
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. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
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
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
There are some Image Editing JAVA Applets over at HotScripts.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
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
Trades: 0
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
 
Old 03-23-2008, 09:35 AM Re: Java Batch Photo Upload Tool
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Yep a custom, installable application would work very well.

something like Irfanview with FTP capabilities
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
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: 74
Location: U.S.
Trades: 0
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...
__________________


Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
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
Super Moderator

Posts: 1,533
Name: Paul Davis
Location: San Francisco
Trades: 1
Good 'ol Jakarta Commons FileUpload :-)
__________________

Please login or register to view this content. Registration is FREE

willcode4beer is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Java Batch Photo Upload Tool
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB 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.32657 seconds with 12 queries