Include in Slideshow boolean & Slideshow weight Int

ChibiPhotographyChibiPhotography Registered Users Posts: 30 Big grins
Hi,

Is there a way to have a boolean value for each image that would indicate if the image is to be featured in a slideshow? Would it also be possible to assign a relative weight to each picture? I want to feature some of my pictures more prominently and others that I do not want in slide shows at all.

The boolean would be T/F to use the photo at all and the Int would be 0-255 with higher numbers being interpeted as being of more importantance than lower numbers. {Equal numbers would be of equal importance.}

These would need to be accessible from the API so that I can build my own presentations; however, it would be useful if the Smug slideshows also respected the values as well.

Doug
www.chibiphotography.com
Doug Pearson
Chibi Photography
pix.chibiphotography.com

Comments

  • devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
    edited March 16, 2008
    Hi Doug,

    Why not use your popular feed in your slideshow config ? I believe that you provide something along the lines of what you are looking for.

    Cheers,

    David
    David Parry
    SmugMug API Developer
    My Photos
  • ChibiPhotographyChibiPhotography Registered Users Posts: 30 Big grins
    edited March 16, 2008
    devbobo wrote:
    Hi Doug,

    Why not use your popular feed in your slideshow config ? I believe that you provide something along the lines of what you are looking for.

    Cheers,

    David
    David,

    I am thinking of using this more as a an API based PHP script that will have a static display of random images that I will customize as required by passing variables when the script is called. I have been working on a proof of concept using PHP & MySQL to keep track of the photos; however, that obviously will not scale well going forward as I will want to share my code for others when I have finished my idea.

    Here is a sample.
    http://www.chibiphotography.com/dgrin/test7e.php?qty=3&aspect=vertical
    The value for qty is 0 based in this test script so a value of 0 or none gives you a single picture and I have capped the test script at 6 pictures. This test also supports size=tiny or size=thumb as well as aspect=vertical or aspect=horizontal so I can use it on different pages.

    Doug
    Doug Pearson
    Chibi Photography
    pix.chibiphotography.com
Sign In or Register to comment.