FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Programming Questions & Help
   Syntax
(Moderators: fry, REAS)
   loadImage(URL url)
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: loadImage(URL url)  (Read 503 times)
fphunct

WWW
loadImage(URL url)
« on: Apr 3rd, 2004, 7:26pm »

It was specified in the technotes that this could be accomplished by running something external(i.e PHP,Python,JSP) to accomplish this.  Is this something that could be implemented without using external tools?
 
I think the JDK already has an image load method that takes a URL as an argument.  Could this somehow be implemented without hacking into the BImage code?
 
Jim
 
fry


WWW
Re: loadImage(URL url)
« Reply #1 on: Apr 4th, 2004, 6:40pm »

loadImage(String url) works fine, but the only issue is that applets cannot access servers other than the one from which they came due to security restrictions in java (unless you use a 'signed' applet).. to avoid using a signed applet, that's where people were using php/python/etc hacks to siphon the image first from another server to the server where the applet was located.
 
azarimy

WWW Email
Re: loadImage(URL url)
« Reply #2 on: Jul 26th, 2004, 12:37pm »

hello,
 
where can i get reference on running a php hacks that u mentioned? i'm trying to get users to upload their own images to the applet that i did.
 
 
 
 
 
btw, im new to processing with very little programming abilities
 
fjen

WWW
Re: loadImage(URL url)
« Reply #3 on: Jul 26th, 2004, 2:04pm »

see post in:
http://processing.org/discourse/yabb/board_Integrate_action_dis_play_num_1090838754.html
« Last Edit: Jul 26th, 2004, 2:18pm by fjen »  
Pages: 1 

« Previous topic | Next topic »