LinuxMCE Forums
May 24, 2013, 10:12:43 am GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
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
 
   Home   Help Search Chat Login Register  
Pages: [1] 2 3
  Print  
Author Topic: Changing or adding pics in place of flickr pics  (Read 6153 times)
fearingsept
Guru
****
Posts: 369



View Profile
« on: September 27, 2007, 03: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.
Logged

Core: Broken Sad
Zaerc
Alumni
LinuxMCE God
*
Posts: 2256


Department of Redundancy Department.


View Profile
« Reply #1 on: September 27, 2007, 03:48:21 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.
Logged

"Change is inevitable. Progress is optional."
-- Anonymous

fearingsept
Guru
****
Posts: 369



View Profile
« Reply #2 on: September 27, 2007, 03:52:06 pm »

Thank you  I will take a look.
Logged

Core: Broken Sad
balyho0o
Newbie
*
Posts: 11



View Profile WWW
« Reply #3 on: September 27, 2007, 08:54:40 pm »

Quote
Unfortunately 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?  Wink
Logged
Zaerc
Alumni
LinuxMCE God
*
Posts: 2256


Department of Redundancy Department.


View Profile
« Reply #4 on: September 27, 2007, 10:18:23 pm »

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

I had to look for a minute there myself.  Smiley  It's far from a tutorial on how to do it though.  Undecided
Logged

"Change is inevitable. Progress is optional."
-- Anonymous

chrisbirkinshaw
Guru
****
Posts: 431


View Profile
« Reply #5 on: September 29, 2007, 02:40:53 pm »

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
Logged
balyho0o
Newbie
*
Posts: 11



View Profile WWW
« Reply #6 on: October 01, 2007, 04:39:40 pm »

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.
Logged
majkaj
Newbie
*
Posts: 8


View Profile
« Reply #7 on: October 01, 2007, 07:34:19 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.  Grin

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.
Logged
teedge77
Addicted
*
Posts: 591


View Profile
« Reply #8 on: October 01, 2007, 08:20:47 pm »

can an orbiter use the flickr screensaver or only the media directors?
Logged

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
Guru
****
Posts: 369



View Profile
« Reply #9 on: October 01, 2007, 08:22:05 pm »

Quote
First, I moved the flickr.pl to flickr.pl.back.

Where is the flickr.pl located?

Logged

Core: Broken Sad
balyho0o
Newbie
*
Posts: 11



View Profile WWW
« Reply #10 on: October 01, 2007, 08:24:48 pm »

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

And the flicker pictures folder is

/home/public/data/pictures/flickr/
Logged
Zaerc
Alumni
LinuxMCE God
*
Posts: 2256


Department of Redundancy Department.


View Profile
« Reply #11 on: October 01, 2007, 08:44:26 pm »

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

That "tutorial" sure didn't take you guys long.  Wink
Logged

"Change is inevitable. Progress is optional."
-- Anonymous

jayzee
Veteran
***
Posts: 67


View Profile
« Reply #12 on: October 01, 2007, 09:01:24 pm »

 Smiley
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
Logged

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
Newbie
*
Posts: 8


View Profile
« Reply #13 on: October 01, 2007, 10:43:55 pm »

Smiley
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!)
Logged
chrisbirkinshaw
Guru
****
Posts: 431


View Profile
« Reply #14 on: October 04, 2007, 11:39:25 am »

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.  Grin



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

Chris
Logged
Pages: [1] 2 3
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!