Gallery Remote as part of file upload page

Chrisr

Joined: 2003-09-11
Posts: 17
Posted: Sat, 2003-09-13 21:26

Is it possible to get the Gallery remote application to be run on the server on the file upload page?

The reason I ask this is that some of the people who will be uploading pictures to my gallery installation are not overly computer literate and so I want to make things as easy as possible for them (ie no download and install necessary on the client machine)

Thanks in advance

Chris

 
joan
joan's picture

Joined: 2002-10-21
Posts: 3473
Posted: Sat, 2003-09-13 23:19

Moved to gallery remote forum

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Sun, 2003-09-14 00:26

With GR 1.1 and later, you can post to a web site a file that contains GR preferences (in the same format as default.properties and GalleryRemote.properties, see the manual about these).

Users can then use the QuickConfig preferences and just input that URL. This will pre-set their preferences.

Does that help?

 
Chrisr

Joined: 2003-09-11
Posts: 17
Posted: Sun, 2003-09-14 11:05

Thanks for the reply - what I actually wanted to do was something along the lines of the following:-

http://www.southstaffssailingclub.org.uk/upload.jpg

Can this be done or is this not Gallery Remote?

Thanks

Chris

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Sun, 2003-09-14 11:14

It can definitely be done, and someone is already doing it as an ActiveX control. I'll get him to comment on this.

 
Chrisr

Joined: 2003-09-11
Posts: 17
Posted: Sun, 2003-09-14 11:44

Many thanks paour - I just want to make things as easy as possible for the users to save me some hassle.

Chris

 
Chrisr

Joined: 2003-09-11
Posts: 17
Posted: Fri, 2003-09-19 18:11

Any joy with the ActiveX solution???

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Sat, 2003-09-20 06:30

Dave is actively developing it. I'll remind him again to post a description here if he sees fit. The ActiveX is not part of Gallery, and I don't know yet what kind of license Dave will use.

But this discussion has made me realize that we need to have an Applet version of Gallery Remote, probably limited compared to the Gallery Remote Application, but which can seamlessly integrate with Gallery.

I'll add this to the list of targets for GR 1.3 (we're currently startign development on GR 1.2 so the target date for 1.3 is sometime around the end of 2003).

 
Chrisr

Joined: 2003-09-11
Posts: 17
Posted: Sat, 2003-09-20 08:02

I think I must have been confused as I thought that it was already available - sorry.

I'll hang on until the next version is available - the end of the year is not that far away - and see what the licence is.

Many thanks for your help.

Chris

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Sat, 2003-09-20 08:08

I may have been unclear: we are talking about two things:

- an ActiveX control, available now in private beta, developed by Dave. This will work on Windows only and may be provided by Dave directly as a Gallery add-on, or as part of Gallery (we haven't worked that part out yet).

- an Applet, based on Gallery Remote, which we hope to deliver as part of Gallery around the end of the year. This will be GPL'ed, as are Gallery and Gallery Remote.

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Sun, 2003-11-09 21:35

I have started work on GR 1.3, which will definitely be available as an applet that can be embedded in Gallery. Betas will start to show up soon.

 
diomark
diomark's picture

Joined: 2003-03-14
Posts: 90
Posted: Fri, 2003-11-14 05:19

Nice dude - looking forward to an embedded applet..
-m

 
tmd

Joined: 2004-01-31
Posts: 4
Posted: Sat, 2004-01-31 23:24

Pierre,

How is the embedded Gallery Remote project coming? Unfortunately, I can't get Gallery working on my website but I have my own basic photogallery script which works fine, except that I'm forced to slog through uploading each image, one at a time, via HTTP Upload. If I could use an embedded Gallery Remote applet or ActiveX, it would make my life a billion times easier.

Fingers Crossed,

TMD

 
tmd

Joined: 2004-01-31
Posts: 4
Posted: Sat, 2004-01-31 23:34

Okay, I see that there are some betas up on Jesse's galleryupdates site, among them some builds that appear to be appletized. The crowd goes wild!

So I grabbed the latest I could see (1.3-b26) and unzipped it to find some lovely JAR files, but I don't know what the applet PARAMs are, or for that matter, which one I need to embed in my page. I know this stuff is all unsupported, but would a little begging for some direction help?? :lol:

TMD

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Thu, 2004-02-05 19:04

The applets are for inclusion in the next release of Gallery (1.4.3), which you can install using nightly builds (on Jesse's site) or CVS.

 
tmd

Joined: 2004-01-31
Posts: 4
Posted: Sat, 2004-02-07 16:38
paour wrote:
The applets are for inclusion in the next release of Gallery (1.4.3), which you can install using nightly builds (on Jesse's site) or CVS.

Pierre,

I got that far, I just didn't have any success getting the JAR files to work. I snooped around inside them, and tried various incantations of <APPLET> but without any docs I wasn't able to get it working.

I guess what I'm asking for is a little help, I know it's beta so I'm not asking for a manual, just a basic usage example and/or which class I'm supposed to specify in the <APPLET> tag, what the parameters are, etc.

Thanks,

TMD

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Mon, 2004-02-09 00:27

tmd, You don't have to change the code to use the applets: just get the latest CVS or nightly build of Gallery 1.4.3 and place the applet jars in the java/ directory.

The pages for add_photos.php and slideshow.php contain the <APPLET> tags or rather the more modern <OBJECT> and <EMBED> tags.

 
tmd

Joined: 2004-01-31
Posts: 4
Posted: Thu, 2004-02-12 04:58

Pierre,

Okay, I see now that the code I was looking for was actually in add_applet.inc and util.php. I can now launch the applets!

So given that I am interested in trying to use the appletized version of Gallery Remote but not to upload to Gallery (because unfortunately my ISP doesn't support it), is it feasible/workable/allowable for me to configure the applet to work without Gallery on the other end?

E.g., can it be configured to use FTP, or to HTTP POST to another location, such as a ColdFusion script that I provide?

I understand if you're unwilling to support this; I'd really prefer to use Gallery on my site, but right now my main concern is how can I embed a nice, GUI interface for uploading a bunch of pictures to my site, and the Gallery Remote seems like it could do the trick.

tmd

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Thu, 2004-02-12 15:12

Gallery Remote (as an application or as applets) relies on a proprietary but published protocol between the client and the server. It will not help you unless you're using a Gallery server.

You're welcome to modify the code to accomplish waht you want, btu we will not develop these features ourselves.

 
iwantmyphoto

Joined: 2003-11-05
Posts: 98
Posted: Fri, 2004-02-20 00:46

hi, Paour, thanks for your message...Sorry to know that Activx was never completed..
As for the applet version.. I just downloaded the latest cvs but have difficulty with configuration mode--something about undefined "validate_email" or something. so I just installed the 1.42. final and added the lib, includes, .Jar under the java directory, addphoto.php(and two related frame files), util.php, well, I guesss that's all that needed for the mod...
It installs ok, and the applet does show up, but when I add photos, the photos won't be listed and nothing to upload.. And also, it also had problem of missing or malfunctioning imagemagick error---same as I run the stand alone Gallery remote 1.3.1...
So.imagemagick is also needed on my local computer to use this applet version GR? And why added photos aren't showing up ..like they are never actually added....? I know its still in development but is it just me or others are experiencing similar problems ?
thanks!

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Fri, 2004-02-20 01:28

I believe the problem you're referring to for G 1.4.3-b has been resolved in the latest CVS.

I'm not sure what would happen if you were to run a version of Gallery that is half 1.4.2 and half 1.4.3.

Regarding GR, you do need ImageMagick to be installed for GR to have all the features enabled. What platform are you running?

Can you post the log of trying to add pictures using the applet?

 
ghotiboy1

Joined: 2004-02-18
Posts: 9
Posted: Thu, 2004-04-01 00:30

Just wanted to say that this applet rules. It actually functions for me, whereas the full application does not (problems with the album tree). The one thing to note here is that this applet does not work if you embed it into PostNuke. You have to go the the gallery outside of PostNuke to get the applet to function. This is fine with me, since it rules so much.

Matt

 
bier0012

Joined: 2004-04-07
Posts: 2
Posted: Wed, 2004-04-07 13:46

I can confirm that the integrated Postnuke-Gallery-Version does not show the applets as described in this thread.

My first thought was that postnuke blocks some tags as you know - for example the applet, embed and object-tags which are mentioned in this thread. Though I changed these preferences of the tags to be accepted by postnuke as valid tags.

I changed applet, embed and object. But no effects....

I used 1.4.2 RC2 and checked that the applets are located in ../java
Everything seems to be fine.

Any ideas which tags i could change in postnuke to get the applets work?

 
Chrisr

Joined: 2003-09-11
Posts: 17
Posted: Sun, 2004-06-20 11:27

As the original thread starter, I just thought I had better post a note to say that I have recently upgraded to the latest version and the Aplet is great.

Thanks to all the development team for all the hard work - long may it continue!!

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Sun, 2004-06-20 15:17

Thanks Chrisr!

 
S_T_A_L_K_E_R

Joined: 2006-01-17
Posts: 3
Posted: Sat, 2006-10-28 13:21

Hello paour, I use GR as part of an rich client application. I have adapted the GR for my needs. This application is based on the Eclipse rich client plattform (RCP), of witch the plugins are under CPL (Common Public License). The CPL and Eclipse RCP allows to use different licensed plugins in an entire RCP-application (closed source aswell). I plan to public my application under CPL whereas some plugins are Apache licensed and some are closed source. Can I distribute my CPL-licensed apllication with adapted GR-plugin? Of corurse the adapted source code of GR is open and can be GPL-ed.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2006-11-01 12:08

Maybe paour can answer this in detail, but here are the legal facts:
- http://gcc.gnu.org/ml/java/2003-10/msg00276.html (about incompatbility between CPL and GPL)
- http://www-128.ibm.com/developerworks/library/os-cplfaq.html#USEINANOTHER (about incompatbility between CPL and GPL, official source)
- http://www.gnu.org/licenses/gpl-faq.html#IfLibraryIsGPL (GPL)
- http://www.gnu.org/licenses/lgpl-java.html (LGPL)

So without the explicit consent of paour and Bharat (he's the copyright holder of all Gallery code), you can't distribute derived work under another license. Even if it is the CPL.

Without their consent, all you can do is create a patch and instructions. Have your users download the original stuff separately and then patch it themselves. Maybe there are more practical workarounds.