"a2597" wrote:
Wow, thank you so much for this update! I've really been wanting a way to display a proper slideshow screensaver on the TV screen.
Is there a way to make the images full screen? I looked at the code on github and I think it has something to do with this line:
canvasItem=[
{url: canvasItems[counter],
TargetRect:{x:Rnd(ds.w-420), y:Rnd(ds.h-300)}},
{url: canvasItems[nextimg],
TargetRect:{x:-1000, y:-1000}} 'Off the screen to preload
]
but my coding experience is really limited to HTML, CSS, and a little javascript. I noticed in the main slideshow it works full screen, but there are no canvas items, but in the slideshow screensaver it makes all the images really small. Hoping there's a way to make it all display full screen.
Again, thank you for updating this!
That screensaver code is mainly the code from the original Picasa author written a long time ago. My guess is the images were made small to look a decent size on an SD TV, and the code was never changed to make them larger on HD screens. Plus, it's a screensaver, so I can see why it wouldn't be written to take up the whole screen. The code you listed for the image canvas gives the (x, y) coordinate of the image origin. The image size is determined when the server request is made, e.g:
rsp=m.picasa.ExecServerAPI("?kind=photo&max-results=300&v=2.0&fields=entry(media:group(media:content))&imgmax=400")
It could be changed to display larger images on larger screens, or even display full-screen images. However, I don't have time to work on it in the immediate future, but I'll add it to my list of future possibilities.