Screensaver using Coppermine images Screensaver using Coppermine images
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Screensaver using Coppermine images

Started by JCphotog, January 30, 2007, 06:21:22 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

JCphotog

Wouldn't something like this be a cool feature for the gallery? Slickr from www.cellardoorsw.com  It's a script that sends images from any flickr account to a screen saver. 

Joachim Müller

Would be a nice feature. However, we focus on web application development (PHP/MySQL/HTML/CSS/JavaScript). The dev team members don't focus on client-sided application development (and that's what would be necessary to come up with such a screensaver). Bottom line: I doubt that this will go into future releases as a core feature. However, we'd love to see this done as a user-contribution.

JCphotog

I see what you're saying, and it makes sense.  Thanks for the reply!

SaWey

Hi,

since i'm in my programming mood, i've began a simmilar app.
You might expect somet demo next week.

Grz

JCphotog

Now that's just cool.  I'm getting excited.  The open source community is wonderful!

SaWey

I've just built a little working program that gets one pic from your preferred website.
Now i've got to make some slideshow of it.

Grz

SaWey

#6
After a bit of coding I can give a little peek.

Download the attached file and extract.

Put "random.php" in you coppermine folder and change the first lines to meet your settings.

Then put "CopperScreen.scr" in your "C:/WINDOWS" folder.

Now got to you display properties and choose the "CopperScreen" screensaver.
Click the settings button (or is it properties?)
There you have to put in the adres to the "random.php" file (http://www.yoursite.com/cpg/random.php)
The advanced settings don't work properly yet and there is no time adjustment yet.

I'll be working on improvements and hope to finish as soon as possible.
Have Fun

Edit: Removed Attachment was old version

Joachim Müller

Moving this thread from "feature requests" to the mods section. Thanks for your contribution - we're looking forward to future updates of your mod.
Changed subject of this thread from "Slickr" to "Screensaver using Coppermine images".

SaWey

Today I bring you CopperScreen 1.0

Follow the instructions above and have fun with it

Please feel free to request features.
Grz

MarkP

Ok I must be a idiot...I get a illegal charcters in path error when trying to enter the URL to the random.php

SaWey

Quote from: MarkP on February 02, 2007, 09:46:45 PM
Ok I must be a idiot...I get a illegal charcters in path error when trying to enter the URL to the random.php
What URL did you enter?


SaWey

Check your "random.php" file, you probably entered wrong sql-settings.
Check you username and password and other database settings.

you can see if the settings are correctly by going to http://www.opshots.net/gallery/random.php?meta=random

MarkP

Ok works good now...thanks! It was dummy me changing things around.

SaWey

If anyone wants to play around with this screen saver,
you can find the sourcecode in attachment.

You will need VS2005

Have fun with it

Joachim Müller

random.php should not have settings of it's own, it should use the mySQL connection data from coppermine. Just adding define('IN_COPPERMINE', true);
require('include/init.inc.php');
should be all it takes. Susequently, you could use the coppermine commands to run queries and not your own.

And a warning: random.php doesn't take permissions into account. As a consequence: if you have random.php on your webserver, your entire gallery will be public!

SaWey

Thanks GauGau for notifying

I was going to make the changes before, but I forgot.

So now I updated the version.
You no need to configure 'random.php' anymore, just put it in your coppemine dir.
It also takes permissions in account now. Only publicly available images will be shown.

The queries are still my own, but maybe I'll change them later

Grz

MONSTER

Thx for the nice screensaver! :)

is it possible to integrate different gallerys? (more than one random.php?)

and stretching the images to screen resolution would be nice.

greetz MONSTER

tamathumper

This would be really cool :)  I keep getting Invalid URI errors on both Vista and XP :(  The error messages are *really* long when I try to debug it in VS2005, so I'll have to set it aside for now.  Looking forward to coming back to it though :D

Gargoyle

I installed, Ignored the error so I could move past it, entered the URI, and it works AWESOME!!

Thanks so much for this!