News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Changing or adding pics in place of flickr pics

Started by fearingsept, September 27, 2007, 04:44:12 PM

Previous topic - Next topic

fearingsept

I was wondering is there a way to change the pic feed from flickr to my own pics? I tried copying my pics to the public data picture folder but I still cannot get any to come up with my pics in place of some of the flickr images. I can pull them up if I go to view my pics through LMCE when I go to the pictures menu.
Core: Broken :(

Zaerc

Quote from: fearingsept on September 27, 2007, 04:44:12 PM
I was wondering is there a way to change the pic feed from flickr to my own pics? I tried copying my pics to the public data picture folder but I still cannot get any to come up with my pics in place of some of the flickr images. I can pull them up if I go to view my pics through LMCE when I go to the pictures menu.

Unfortunately it's not that easy aparently, I have just posted a few hints in another thread, you might want to look at that.
"Change is inevitable. Progress is optional."
-- Anonymous

[url=http://petition.stopsoftwarepatents.eu/181001941347/][/url]

fearingsept

Core: Broken :(

balyho0o

QuoteUnfortunately it's not that easy aparently, I have just posted a few hints in another thread, you might want to look at that.

Ok I must be dim cause I can't find it. mind posting a link?  ;)

Zaerc

http://forum.linuxmce.org/index.php?topic=2628.0

I had to look for a minute there myself.  :)  It's far from a tutorial on how to do it though.  :-\
"Change is inevitable. Progress is optional."
-- Anonymous

[url=http://petition.stopsoftwarepatents.eu/181001941347/][/url]

chrisbirkinshaw

I have butchered the script. You'll need to change the source dir ($dirtoget) in the config section. It's hardcoded to look for .JPG files but you can change that (there are two references, just do find and replace).
I also added a bit in which ignores the images if they are less than 500px wide or high for quality reasons.

It's a hack though, and my first time with Perl, so don't expect too much finesse! ;-)

Chris

balyho0o

Thanks for the script chris. Trying to get this to work now.

Also, if anyone is interested, I have posted a help wanted for someone who wants to build this so that a change in the directory that is used can be done via the control panel settings. See http://forum.linuxmce.org/index.php?topic=2713.msg13170 if you are interested in the bounty.

majkaj

Quote from: fearingsept on September 27, 2007, 04:44:12 PM
I was wondering is there a way to change the pic feed from flickr to my own pics? I tried copying my pics to the public data picture folder but I still cannot get any to come up with my pics in place of some of the flickr images. I can pull them up if I go to view my pics through LMCE when I go to the pictures menu.

Sheesh... Someone should have told me it was hard to do... because I put my photos on no problem.  ;D

First, I moved the flickr.pl to flickr.pl.back.  Too many of the flickr.pl photos were just not appropriate for my 4 year old grand-daughter... plus I didn't care to see various people sitting on the commode.  So, by moving the flickr.pl out of the way, it will not overwrite what I do.

Next, I went to the directory where all the photos are stored by month... just under the 2007 year folder.  I removed everything below the 2007 folder rm -rf *.   Then I put my photos there, under the 2007 folder.  A few minutes later they showed up as wallpaper.  I didn't size/resize the photos... just used as they came out of my digital camera.  That's it.  It works.

teedge77

can an orbiter use the flickr screensaver or only the media directors?
AMD Athlon 64 X2 6000+
Asus M2V Via AM2 ATX
Lite-On LH-20A1S SATA DVD Burner
80GB  SATA-150
EVGA GeForce 7300 GT 512MB DDR2 PCI Express
Sound Blaster Audigy SE
Kingston 2 GB PC6400 DDR2 800MHz
Ultra X-Finity 800-Watt
ZCU000
Cisco 7970
TDM400P

fearingsept

QuoteFirst, I moved the flickr.pl to flickr.pl.back.

Where is the flickr.pl located?

Core: Broken :(

balyho0o

Quote
Where is the flickr.pl located?
/usr/pluto/bin/

And the flicker pictures folder is

/home/public/data/pictures/flickr/

Zaerc

Nice work Chris!  And thanks for the aditional instructions majkaj.

That "tutorial" sure didn't take you guys long.  ;)
"Change is inevitable. Progress is optional."
-- Anonymous

[url=http://petition.stopsoftwarepatents.eu/181001941347/][/url]

jayzee

 :)
thanks for posting these instructions, this is almost what i wanted to do,

I was wondering though, can I just add my photos to the flickr directory and then them appear intermingled with the flickr ones? might give it a go a see what happens
Core/hybrid
Asrock AM2NF3-VSTA, AMD 64 Dual Core 4000, 1gig ram, 2xpvr150, 1xwintv nova T500, 1xconextant 4x security cam input card

1 X MD
Asus M2NPV-VM, AMD 64 3200, 512mb ram, Silverstone Lascala LC02B

3xMD
Biostar 200n, AMD Sempron 2300, 512

majkaj

Quote from: jayzee on October 01, 2007, 10:01:24 PM
:)
thanks for posting these instructions, this is almost what i wanted to do,

I was wondering though, can I just add my photos to the flickr directory and then them appear intermingled with the flickr ones? might give it a go a see what happens

Yes, you can intermingle your photos with the flickr.pl downloaded photos.  I have done this.  I loaded 15 or so photos from my digital camera under the 2007 folder.   At first, I left some of the photos that the flickr script pulled but, over time,  I have replaced them with my own selections.  I logged in to MY flickr account, did a search on photos with a tag of landscape, downloaded what I liked, copied them to the 2007 folder.

Sorry that I was not more specific about where flickr.pl is located. I didn't remember exact directory locations (I am at work!)

chrisbirkinshaw

Quote from: majkaj on October 01, 2007, 08:34:19 PM
Quote from: fearingsept on September 27, 2007, 04:44:12 PM
I was wondering is there a way to change the pic feed from flickr to my own pics? I tried copying my pics to the public data picture folder but I still cannot get any to come up with my pics in place of some of the flickr images. I can pull them up if I go to view my pics through LMCE when I go to the pictures menu.

Sheesh... Someone should have told me it was hard to do... because I put my photos on no problem.  ;D



Hmm. It didn't work for me! How strange!

Chris