The place to discuss how to make 23 work in special ways with the 23 api

jUploadr integration

pregnantboy   July 18, 2007, 01:01 PM

I've asked scohen for 23 integration in jUploadr and this is his answer:

pregnant:
The sort answer is that I have received a whopping two requests to add it. The longer answer is that if I spent all my time adding different apps, then I’d never add any features to jUploadr.

Let’s take iPernity for instance. They have taken the initiative and written their own plugin to jUploadr, which with any luck, will be integrated into the core app in the 1.2 release. I’ve provided API documentation and a tutorial on how to write a jUploadr plugin and would be more than happy to help someone from 23hq or a user of that site to write a jUploadr plugin.

Also, since I don’t use 23, any plugin I’d write wouldn’t be that good (there are a lot of edge cases in jUp.) and I take great pride in this little uploader. If you know anyone with even a little Java knowledge that is also a 23 user, I’d suggest buying them enough beer so that they volunteer to write a plugin. I’ll gladly integrate it.

I'm not a programmer but if there's someone interested it could be great, version 1.2 of this program will be very amazing.

Cesare.

 
IkoTikashi   July 18, 2007, 01:15 PM

mmmm, beer! I'm afraid I have NO Java knowledge :( I'll ask around in my freundeskreis though.

 
lordrobe   January 21, 2008, 05:40 AM

i have little java knowledge (from shool, and that is ages ago....)

I just decompiled the flickr plugin and changed the flickr URLs to 23hq.com
But the application hangs on start, so i made mistakes. Juploadr is a very good application. Please, someone with java skills, please help us! :)

 
Steffen Fagerström Christensen Team 23   January 21, 2008, 09:05 PM

I don't have any trouble compiling the current CVS version of jUploadr on my Mac using ant dist-mac -Darch=macOSX -- even after changing flickr.com til 23hq.com. Remember to run the executable files in the "releases" folder after compile. (On Mac another temp folder is created and jUploadr crashes after launching the executable in that folder)

I'll see if I get the time to create a 23 distro for Linux, Mac and Windows sometime this week. It's certainly possible...

 
pregnantboy   January 22, 2008, 08:47 AM

I will love the linux version... waiting forsome good news!
Cesare.

 
Vincent   January 22, 2008, 02:02 PM

Same here, I'd also greatly appreciate the Linux version :)

 
Steffen Fagerström Christensen Team 23   January 22, 2008, 03:12 PM

I've spent a bit of time search/replacing the code for the current version of jUploadr to provide a "23 version" of the product. Basically, the approach has been to remove all references to zoooooomr and use the flickr code for 23 purposes.

I have only tested this on my Mac (where it compiles neatly) and I'll need someone else to do the Linx and Windows versions. Instructions for downloading the code (including the compiled program for Mac) is attached below.



Downloading the mashed up code...
juploadr-23-dist.zip (21 MB)

Compiling the beast...
Linux:
  ant dist
Linux on a 64 bit Athlon:
  ant dist -Darch=linuxGTK_amd64
Windows:
  ant dist -Darch=win32_x86
Mac:
  ant dist-mac -Darch=macOSX

 
Steffen Fagerström Christensen Team 23   January 22, 2008, 03:15 PM

By the way: I've kept the link to "Donate to jUploadr". Paying for great, free, open software is never a bad idea ;-)

 
Vincent   January 22, 2008, 04:03 PM

Works fine for me on Xubuntu Linux 7.10. Apart from a few references to Flickr in the interface I've experienced no problems at all.

 
Bruno Miguel   January 24, 2008, 06:02 PM

Can't run it under Debian Lenny. The compilation runs smoothly, but when I try to run it, it says GCJ is not a compatible version :\

 
Steffen Fagerström Christensen Team 23   January 24, 2008, 06:51 PM

Bruno,

Have a look at the comments here.

Three different possible solutions are listed in comments 27, 28, and 29.

Please let us know how it pans out...

 
lordrobe   January 24, 2008, 06:56 PM

with the "ant" thingy, juploadr runs perfectly under vista!

THANK YOU!!!!

I just didn't see, that there where cvs sourcecode available. I try to "hacking" the java files with reverse engineering, ... the definitive wrong and longest way.... :D

 
Bruno Miguel   January 24, 2008, 07:39 PM

@Steffen, thank you for the tip. I only had to run update-alternatives and choose /usr/lib/jvm/java-1.5.0-sun/jre/bin/java. And it worked. :)

 
Bruno Miguel   January 25, 2008, 06:07 PM

I noticed one thing with jUploader for 23hq: it doesn't select an image to be cover photo of an empty group. And that's something it would be really cool to have.

Would it be possible to make jUploader aware of an empty group and automatically define the first image dragged to the app to be the cover? Or to manually define the cover within jUploader?

 
Steffen Fagerström Christensen Team 23   January 25, 2008, 10:10 PM

I'm a bit unsure about the question: Does it concern covers within jUploadr? Or are we dealing with album covers on 23?

 
Bruno Miguel   January 26, 2008, 02:24 AM

Yes, album covers.

 
Steffen Fagerström Christensen Team 23   January 26, 2008, 08:15 AM

Ah okay, by definition the album cover needs to come from within the album on 23 -- so there's really no way of defining the album cover on empty albums since there's no pool of photos to select from.

 
Bruno Miguel   January 26, 2008, 12:51 PM

Ok. Thanks :)

 
pregnantboy   January 28, 2008, 11:09 AM

I've compiled on linux (gnome) and everything's fine. The geolocator doesn't go, I can imagine why but it's a pity cos it's one of the useful functions of juploadr. Anyway good job.
Cesare.

 
mruwek   June 09, 2008, 01:33 PM

Yeah, on Debian Lenny it works very very well. Good job. Looking for next -> more polished versions :)

 
Steffen Fagerström Christensen Team 23   June 09, 2008, 01:47 PM

We may need someone to write it then ;-)

 
IkoTikashi   June 11, 2008, 06:34 AM

Excellency! Works fine (except Geo) on Ubuntu8.04. One thing to note:

Linux on a 64 bit Athlon:
ant dist -Darch=linuxGTK_amd64

should be

Linux on a 64 bit Athlon:
ant dist -Darch=linuxGTK-amd64

Thanks!

 
astreim   June 11, 2008, 10:07 PM

I just tried it with Ubuntu 8,04, works perfect.

Nice!

One less reason to stick to Windows ;-)

 
IkoTikashi   June 12, 2008, 12:19 PM

Which makes "Gaming" the only reason to stick with Windows :)

 
Steffen Fagerström Christensen Team 23   June 12, 2008, 12:22 PM

Plus masochism of course

 
pregnantboy   June 12, 2008, 05:36 PM

I don't like gaming particularly so for me windows is just useless, now I'm using Gimp trying to forget photoshop. The only windows program that I need is exifer but it works perfectly with wine. Do you know something like exifer for gnome and possibly without using mono? If you don't know exifer is a simple freeware application that allow exif data manipulation, in particular it allows exif import/export and thumbnail creation. thank you.

 
IkoTikashi   June 13, 2008, 06:47 AM

You might want to take a look at ExifTool for EXIF/IPTC manipulation. For thumbnail-generation (and image manipulation) ImageMagick will do.

 
Vincent   June 13, 2008, 09:31 AM
 
Thor Dekov Buur   June 14, 2008, 08:56 PM

I'm not used to compile, so I would be very greatfull for more detailed instruction to linux install. Thanks!

 
astreim   January 12, 2009, 09:20 PM

I used the jUploadr a lot. But now I have a problem: I closed accidentaly the program while there were about 100 pictures waiting to be uploaded.

Now every time I start the jUploadr, it tries to "restore saved state" - and then it loads, and loads, and loads - until my system is crashed.

I have no idea where it saves it's previous state and I would like to delete it. No chance.

Someone also filed this as a bug at jUploadr some time ago, but there and said, even uninstall and restore did no good, but there was no answer. Anybody here an idea?

 
Steffen Fagerström Christensen Team 23   January 12, 2009, 09:40 PM

It seems that the program is storing state using a standard java.util.prefs feature. My guess is that you'll be able to browse/change the startup preferences using a utility such as this. I'm not a java guy myself so it's only a guess.

Settings are likely to be in /org/scohen/juploadr and simple remove the entirely scohen tree if possible.

Let us know how it works out...

 
Steffen Fagerström Christensen Team 23   January 12, 2009, 09:41 PM

Also, I was promised beer for porting jUploadr way back when. What gives guys?

 
astreim   January 13, 2009, 04:42 PM

My solution yesterday night was: Rename the folder of the pictures (simpel, but it took me a while to get the idea), then jUploadr starts again.

:-)

But I made the experience, that it crashes on Ubuntu if I try to upload more than about 30 pictures in a row without closing the program. Not nice.

I guess I will try to code something using Python without any UI, just plain command-line tool ;-).

 
Steffen Fagerström Christensen Team 23   January 13, 2009, 04:51 PM

Untested:

#!/usr/bin/tclsh
if { [llength $argv]==0 } {
puts "Usage: [info script] <files>"
exit
}
foreach filename $argv {
if { ![regexp -nocase "(jpg|jpeg|png|gif)$" filename] } {
puts "Skipping $filename"
} else {
puts "Uploading $filename"
exec curl -silent -F username=**user** -F password=**pass** -F @photo=$filename http://www.23hq.com/services/upload
}
}

 
Steffen Fagerström Christensen Team 23   January 13, 2009, 04:56 PM

Tcl exec has an anoying tendency to throw errors even if a command is successful. To avoid that sort of non-sense you might need to throw a 2>&1 >/dev/null after the exec curl ... stuff

 
astreim   January 13, 2009, 09:08 PM

Nice :-)

I'm just playing around with

http://lifehacker.com/software/hack-attack/automatically-upload-a-folders-photos-to-flickr-262311.php

I changed the api from www.flickr.com to www.23hq.com and it seems to work.

The script checks one folder on my harddisk for pictures and if they are new and have not been uploaded, it will upload every picture there to 23hq. Might even run in the background, every x minutes, using cron.

There is even a version which uses subdirectories to create new photosets - http://www.schiller.cc/blog/programming/uploadr2setpy/ - , but I think I will stick with the "simpel" method.

 
p3pixelpixel   February 02, 2009, 06:31 AM

pixelpipe.com has a juploader ported to their system, so you can use it to upload to something like 50 different sites simultaneously. You can get the linux version here, http://pixelpipe.com/tools

 
Joseph Lee   April 22, 2009, 07:59 AM

Gosh, I'm new in using Ubuntu 8.04 !
Can someone teach me how to install it?
what should i do? .... from the beginning :P

 
Joseph   May 24, 2009, 10:21 PM

I'm using Ubuntu, so here is a quick instruction;

1.) Open a terminal (or use Synaptic) to install java, unzip, & ant with this command:

sudo aptitude install ant sun-java6-bin unzip

2.) Download the file above and unzip it with this command:

unzip juploadr-23-dist.zip

3.) change to the directory with this command:

cd juploadr

4.) build with this command

ant dist

5.) if you receive some form of "BUILD SUCCESSFUL" message the file will be inside the jUploadr-1.2alpha1-linuxGTK-i386 folder and can be launched with the following command (or you can navigate to it and double-click it from your file browser...)

jUploadr-1.2alpha1-linuxGTK-i386/jUploadr

 
ifrit   August 25, 2009, 03:31 PM

Hi, Joseph!

Thanks for your step by step help ;)

I get this in the last step :S

user@user:~/juploadr$ ant dist
Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-6-sun-1.6.0.07/lib/tools.jar
Buildfile: build.xml

init:
[echo] arch is now set to linuxGTK-i386

compile:

apilibs:

init:
[echo] arch is now set to linuxGTK-i386

compile:

flickr-libs:

BUILD FAILED
/home/user/juploadr/build.xml:311: The following error occurred while executing this line:
/home/user/juploadr/build.xml:316: Directory /home/user/juploadr/jUploadr-1.2alpha1-linuxGTK-i386/plugins creation was not successful for an unknown reason

Total time: 4 seconds

Thanks,
ifrit

 
starmate   December 08, 2014, 06:19 PM

Hi everyone,

I am looking for a solution that would allow me to download all my photos.
I tried migratr but it stops at some stage.

Do you guys know an alternative?

Thanks,

Jon

 
usa-it-company   March 07, 2015, 08:38 AM

I'm using Ubuntu, it's Using really easy

 
usa-it-company   March 07, 2015, 08:40 AM

1sTaRtUrLhttp://goo.gl/P6103f

 




About 23

About 23
What is 23 and who's behind the service?
Just In
Discover the world from a different angle.
Here's a crop of the latest photos from the around the world.
Search
Search photos from users using 23
Help / Discussion
Get help or share your ideas to make 23 better
23 Blog / 23 on Twitter
Messages and observations from Team 23
Terms of use
What can 23 be used for and what isn't allowed
More services from 23
We also help people use photo sharing in their professional lives
RSS Feed
Subscribe to these photos in an RSS reader
  • Basque (ES)
  • Bulgarian (BG)
  • Chinese (CN)
  • Chinese (TW)
  • Danish (DK)
  • Dutch (NL)
  • English (US)
  • French (FR)
  • Galician (ES)
  • German (DE)
  • Italian (IT)
  • Norwegian (NO)
  • Polish (PL)
  • Portuguese (PT)
  • Russian (RU)
  • Spanish (ES)
  • Swedish (SE)

Popular photos right now