View Full Version : SlideShow Screenlet
whise
August 13th, 2007, 02:25 AM
A Screenlet that displays a slideshow from your folder or from the Flickr.com website . It also shows images in the screenlet frame .You can add new images by drag&drop them into the screenlet's window area
by Helder Fraga aka Whise
http://hendrik.kaju.pri.ee/screenlets/files/img/CapturaEcra-2.resized.png
Instalation
Put it in your /usr/local/share/screenlets and run it from there
Download link:
http://www.mediafire.com/?b2nlyul8gwm
jackkerouac
August 13th, 2007, 03:02 AM
A Screenlet that displays a slideshow from your folder or from the Flickr.com website . It also shows images in the screenlet frame .You can add new images by drag&drop them into the screenlet's window area
by Helder Fraga aka Whise
http://hendrik.kaju.pri.ee/screenlets/files/img/CapturaEcra_5.png
Instalation
Put it in your /usr/local/share/screenlets and run it from there
Download link:
http://www.mediafire.com/?bd03qnyhtv4
Very nice!
RYX
August 13th, 2007, 07:06 AM
Yes, really cool. That glassy frame looks nice.
Just one quick note - could you please add that people do not necessarily have to install into /usr/local/share/screenlets/, the preferred way should be copying the files into $HOME/.screenlets/ ... Some people had problems with non-working screenlets in the global path. Thanks in advance :)
hells_dark
August 13th, 2007, 10:38 AM
Hey, nice :)
There's one thing i misunderstand..
Where is the slideshow done ? In the screenlet area ?
forteller
August 13th, 2007, 07:57 PM
This is very cool! But does it only work with Flickr? How about adding support for RSS/Atom feeds so that you can show pictures from any photo sharing site, or even any website? Personally I'm using Ipernity (http://ipernity.com), which I find much better than Flickr.
plun
August 13th, 2007, 09:08 PM
Great !
Gnome Art and this one.... :-)
medic119
August 14th, 2007, 03:36 PM
Can I say how much I love this screenlet! Exactly what I was looking for.
A suggestion though. Would it be possible to have a frameless variant and a way to constrain the proportions so that the images I have on display are not stretched and distorted to fit with in the frame (maybe the frame stretches to accommodate the thumbnail X/Y?) ? Most pictures are a pretty standard ratio depending on rotation and cropping. (EX 1024x768, 768x1024, or 320x320)
Thanks again. Now Vista Sidebar has nothing over any screenlet! :)
hells_dark
August 14th, 2007, 06:45 PM
19:33 xxx@xxx-desktop ~% cp -r Slideshow /usr/local/share/screenlets
19:37 xxx@xxx-desktop ~% python /usr/local/share/screenlets/Slideshow/SlideshowScreenlet.py
Traceback (most recent call last):
File "/usr/local/share/screenlets/Slideshow/SlideshowScreenlet.py", line 20, in <module>
import Image
ImportError: No module named Image
zsh: exit 1 python /usr/local/share/screenlets/Slideshow/SlideshowScreenlet.py
It doesn't work at home :(
Solved :
"Just install the package Python-imaging from synaptic"
whise
August 14th, 2007, 07:29 PM
i have to update this to work better with folder images because its a bit laggy
will do so soon
whise
September 3rd, 2007, 01:42 AM
updated works beter with folders
maluze
September 3rd, 2007, 02:33 AM
updated works beter with folders
I installed it in the usr path, and I get this error when I try to start up screenlets-manager:
Unable to load 'Slideshow' from /usr/local/share/screenlets/Slideshow: No module named Image
Traceback (most recent call last):
File "/usr/local/share/screenlets-manager/screenlets-manager.py", line 589, in <module>
app = ScreenletsManager()
File "/usr/local/share/screenlets-manager/screenlets-manager.py", line 133, in __init__
self.load_screenlets()
File "/usr/local/share/screenlets-manager/screenlets-manager.py", line 259, in load_screenlets
info = ScreenletInfo(s, meta['name'], meta['info'], meta['author'],
TypeError: 'NoneType' object is unsubscriptable
whise
September 3rd, 2007, 02:36 AM
"Unable to load 'Slideshow' from /usr/local/share/screenlets/Slideshow: No module named Image "
you need python image module
maharbA
September 16th, 2007, 09:42 PM
Great screenlet (although you may want to add the part about python-imaging being needed on its screenlets.org page)
Is there a way to limit what it gets from Flickr? I just want it to display my family photos.
(Also, +1 to the idea to not stretch the photos)
Good job, whise
plun
September 16th, 2007, 11:10 PM
Is there a way to limit what it gets from Flickr? I just want it to display my family photos.
Yup...:)
Right click > Properties > Tab Options > Tab Slideshow
Select engine > directory > Apply > Select folders
maharbA
September 18th, 2007, 02:03 AM
Right click > Properties > Tab Options > Tab Slideshow
Select engine > directory > Apply > Select folders
Thanks, plun. But that seems to just show the files on my HD. I'm looking to show just my pics from Flickr.
They were posted from, and are kept on, many different computers.
plun
September 18th, 2007, 08:22 AM
Thanks, plun. But that seems to just show the files on my HD. I'm looking to show just my pics from Flickr.
They were posted from, and are kept on, many different computers.
OK, the only way I can figure out is to change line 189 within SlideshowScreenlet.py
zodiacfd = urlopen('http://www.flickr.com/explore/interesting/7days/')
Maybe "whise" sees this and have other ways ?
whise
September 18th, 2007, 01:54 PM
try replacing that with you flicker directory , maybe it works , ill look at it later
maharbA
September 20th, 2007, 12:18 AM
Thanks for the tip.
line 189 now looks like this:
zodiacfd = urlopen('http://www.flickr.com/photos/8838/sets/72157594447017287/detail/')
But I don't get anything in the screenlet.
The above address is for a public photoset so it's not a password problem. (my family photos are private -- any chance the screenlet will be able to show a private photoset?)
When I right-click on the screenlet and select "Visit this Flickr page" it takes me to:
http://www.flickr.compublic/
which, of course, doesn't work
any suggestions?
cowanh00
October 15th, 2007, 09:22 AM
Does this Screenlet require an internet connection? Everytime I go offline the Screenlet doesn't display, even though I have set it to display photos from a directory.
Is there is a way I can stop this please let me know.
cowanh00
October 23rd, 2007, 03:32 PM
Just to clarify my post above. I cannot start this screenlet when I'm offline. Only when I'm online. If I start it online and then go offline it will continue to display.
Any help will be great!
whise
October 23rd, 2007, 07:05 PM
ill try to fix it
cowanh00
October 24th, 2007, 08:34 AM
Thanks! I was looking into the code (although I don't know Python) and it seams to be that as it cannot make an internet connection it just doesn't run.
panoz
November 3rd, 2007, 08:22 PM
Hey! thanks for all your efforts!!
Here are 2 suggestions (actually 2-in-1)..
could you please make the resize procedure maintain the aspect ratio ?
something in the lines with :
def maxSize(image1, maxSize, method = 3):
""" im = maxSize(im, (maxSizeX, maxSizeY), method = Image.BICUBIC)
Resizes a PIL image to a maximum size specified while maintaining
the aspect ratio of the image. Similar to Image.thumbnail(), but allows
usage of different resizing methods and does NOT modify the image in place."""
imAspect = float(image1.size[0])/float(image1.size[1])
outAspect = float(maxSize[0])/float(maxSize[1])
if imAspect >= outAspect:
#set to maxWidth x maxWidth/imAspect
return image.resize((maxSize[0], int((float(maxSize[0])/imAspect) + 0.5)), method)
else:
#set to maxHeight*imAspect x maxHeight
return image.resize((int((float(maxSize[1])*imAspect) + 0.5),maxSize[1]), method)
found it somewhere online, sorry i don't remember where, credits go to whoever wrote this, but since i've never even seen python code before, i was unable to make it work with your code.. EDIT googled it, and here it goes: http://osdir.com/ml/python.image/2006-01/msg00010.html
and the second is could you use Image.ANTIALIAS instead of Image.BICUBIC which should be much much better for shrinking ??
ps. google is my second best friend, so i tried my best before asking you..!!
Thanks in advance!
heruan
March 1st, 2008, 01:52 PM
I think it would be nice, when "Preserve aspect ratio" option checked, to have images centered horizontally (or vertically if portrait). +1 for also zooming to have no black bars at all (like the option "Zoom" of Gnome backgrounds).
heruan
April 1st, 2008, 03:44 PM
Where slideshow screenlet stores thumbnails for pictures in custom directory? I rotated some pictures but the screenlet shows them unrotated!
rorzer
May 18th, 2008, 06:32 AM
I think it would be nice, when "Preserve aspect ratio" option checked, to have images centered horizontally (or vertically if portrait). +1 for also zooming to have no black bars at all (like the option "Zoom" of Gnome backgrounds).
+1 for Zoom.
Also, it would be nice to have more than one source for each screenlet, so I can follow all of my families flickr streams in one screenlet, rather than filling my desktop.
Great work, by the way. I'm loving your screenlets.
KhaaL
June 12th, 2008, 10:09 AM
I'd like the screenlet to adjust its frame to the image so there wont be this huge black bar at the bottom of the frame (it's very ugly). And perhaps give the user the option to crop the image to fit into the frame?
This screenlet just needs a little bit more of TLC before it becomes a kickass screenlet :)
vBulletin® v3.7.1, Copyright ©2000-2008, Jelsoft Enterprises Ltd.