Port80 Forums Fast Hit Web Hosting

Our Platinum Sponsors:


Go Back   Port80 Forums > Development & Code > php & mySQL

Reply
 
Thread Tools Display Modes
  #11  
Old 05-01-2011, 10:35 AM
patricktt's Avatar
patricktt patricktt is offline
Senior Member
AWIA Member
 
Join Date: May 2009
Location: Waroona, WA, Australia
Posts: 341
patricktt is on a distinguished road
Default

jumploader.com doesn't look too bad...

any java developers in Perth?
__________________
Templeman Twells
Reply With Quote
  #12  
Old 13-01-2011, 03:30 PM
Basil Basil is offline
Senior Member
 
Join Date: Mar 2003
Posts: 301
Basil is on a distinguished road
Default

From memory, Facebook requires you to download a browser component prior to uploading photos. This is in-effect a client-side application which you have trusted.

Using this logic, you could develop an ActiveX control or Java Applet which resizes the images client-side prior to uploading, massively reducing upload time.

I'm not sure if this is what Facebook does, but I don't see why it couldn't be done this way.
__________________
.
Reply With Quote
  #13  
Old 13-01-2011, 03:35 PM
Basil Basil is offline
Senior Member
 
Join Date: Mar 2003
Posts: 301
Basil is on a distinguished road
Default

Some already out there:

http://www.aurigma.com/Products/Imag...nlineDemo.aspx
https://bitbucket.org/kmike/gearsuploader/
http://upload.thinfile.com/image/demo.php
http://www.chestysoft.com/ximage/resizeupload.asp
__________________
.

Last edited by Basil; 13-01-2011 at 03:46 PM.
Reply With Quote
  #14  
Old 13-01-2011, 03:53 PM
patricktt's Avatar
patricktt patricktt is offline
Senior Member
AWIA Member
 
Join Date: May 2009
Location: Waroona, WA, Australia
Posts: 341
patricktt is on a distinguished road
Default

I did wonder that actually, if it resized it client side before uploading.. A great idea, will check out the links posted above. Thinfile looks pretty good...
__________________
Templeman Twells
Reply With Quote
  #15  
Old 09-02-2011, 02:46 PM
Basil Basil is offline
Senior Member
 
Join Date: Mar 2003
Posts: 301
Basil is on a distinguished road
Default

Did you get anywhere with this?
__________________
.
Reply With Quote
  #16  
Old 09-02-2011, 04:12 PM
patricktt's Avatar
patricktt patricktt is offline
Senior Member
AWIA Member
 
Join Date: May 2009
Location: Waroona, WA, Australia
Posts: 341
patricktt is on a distinguished road
Default

Not yet... will do in the next 2 weeks though...
__________________
Templeman Twells
Reply With Quote
  #17  
Old 07-04-2011, 11:59 AM
patricktt's Avatar
patricktt patricktt is offline
Senior Member
AWIA Member
 
Join Date: May 2009
Location: Waroona, WA, Australia
Posts: 341
patricktt is on a distinguished road
Default

anyone use the Aurigma uploader before? Looks like what I need but just wondering if anyone had any experience with it or opinions
__________________
Templeman Twells
Reply With Quote
  #18  
Old 07-04-2011, 01:25 PM
Vee Vee is offline
Senior Member
AWIA Member
 
Join Date: Jul 2008
Location: Mandurah, WA
Posts: 425
Vee is on a distinguished road
Default

Quote:
Originally Posted by patricktt View Post
anyone use the Aurigma uploader before? Looks like what I need but just wondering if anyone had any experience with it or opinions
Which one? www.aurigma.com
Reply With Quote
  #19  
Old 08-04-2011, 11:04 AM
patricktt's Avatar
patricktt patricktt is offline
Senior Member
AWIA Member
 
Join Date: May 2009
Location: Waroona, WA, Australia
Posts: 341
patricktt is on a distinguished road
Default

image uploader express or whatever it is called... v7. looks awesome, but man im having trouble putting it into cake has to be an error somewhere, but i'm struggling to debug this baby!
__________________
Templeman Twells
Reply With Quote
  #20  
Old 08-04-2011, 04:23 PM
patricktt's Avatar
patricktt patricktt is offline
Senior Member
AWIA Member
 
Join Date: May 2009
Location: Waroona, WA, Australia
Posts: 341
patricktt is on a distinguished road
Default

ok so over 12 hours trying to get this integrated into CakePHP... so close but just not there.

What I can do... I have it so that the uploader shows, it uses Java to resize the images selected and then uploads them at the speed of light and lumps them into a folder.

What I can't do... I need to go through each uploaded image and move the relevant resized copy (large/small) to where it needs to be, as well as update the database with the filename.

The documentation tells me I can do this, but because the upload is happening in the controller method, im not sure the callback is working properly - at least, nothing seems to happen with it, it just redirects to where it should on completion.

The code I am using to try and run the callback is:

Code:
$handler = new UploadHandler();
			$handler->setFileUploadedCallback("saveUploadedFile");
			$handler->setAllFilesUploadedCallback("saveAllUploadedFiles");
			$handler->processRequest();
Any light that can be shed would be great - totally run out of ideas.

Patrick
__________________
Templeman Twells
Reply With Quote
Reply

Thread Tools
Display Modes

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

Forum Jump


All times are GMT +8. The time now is 02:58 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.