View Full Version : The new Setup Factory 7.0 Screenshot Gallery is now online
Corey
10-07-2004, 03:56 AM
Hey everyone. New screenshot gallery is up on the Setup Factory site as well as this site. Hope everyone likes it. :)
http://www.setupfactory.com/site/screenshots.php
Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)
Intrigued
10-07-2004, 09:19 AM
Cool!
I also like the Javascript slideshow option! Or, is that just for Window control?
Corey
10-07-2004, 03:08 PM
Javascript is used to launch the pop-up but the rest is just HTML/PHP. The whole gallery including the slide show is served via one tiny page which has about 10 lines of code. If you pass a slideshow variable to it, it knows to write in a meta-refresh tag according to your chosen slideshow speed, and then the page just increments the cap as it refreshes. Very, very basic stuff but quick and easily expandable. :)
Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)
Intrigued
10-07-2004, 04:46 PM
Thanks for explaining!
I am investigating different ways of offering up such via different languages, applications.
Corey
10-07-2004, 04:49 PM
Would be easy, just pass another variable, i.e.:
http://www.amuser.com/showpicture.php?pic=1&secs=5&lang=en&app=amuser
Then just name your files accordingly, i.e. en_amuser_1.jpg, en_amuser_2.jpg,, en_amuser_3.jpg, etc. and you can simply concatenate your GET variables to construct your file path, i.e.:
picCount = 1;
if ($lang) {
$myPic .= $lang."_";
}
if ($app) {
$myPic .= $app."_";
}
$myPic = $myPic.$picCount.".jpg";
echo "<img src=\"images/".$myPic."\">";
Or something like that. Nice and simple, and extensible. I'd be happy to assist you with small PHP scripts like this anytime. Note that you don't have to escape quotes if they are in single quotes. I have some bad habits since I was an early PHPer, but you should probably get in the habit of using single quotes instead. I'm no expert, that's just what I hear around the playground. Popsicle talk. :yes
Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)
Intrigued
10-07-2004, 04:52 PM
Corey, if you have time in the near future to slide a sample PHP version over that would be really appreciated! I know you are busy.. going 12 ways at any given moment though.
Corey
10-07-2004, 05:03 PM
Yeah OK let me get a small working example together.
Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)
Intrigued
10-07-2004, 05:04 PM
Thank you in advance Corey!
Edit: I just noticed the other code you posted. D'oh! I missed that before posting my previous post. Thanks!
vBulletin® v3.7.3, Copyright ©2000-2009, Jelsoft Enterprises Ltd.