Not signed in (Sign In)

Categories

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorkeran
    • CommentTimeJun 10th 2008
     permalink
    Hi,

    Is it possible to have both, pictures and thumbs in same folder?!
    I'm dynamically uploading pictures and thumbs, then storing names in DB, with different names in same folder.

    So... is it possible to dynamically create XML which will store names for both, pictures and thumbs?
    Or is it there some other solution for this one, but both are in same folder?!

    Thanks and greaaaaaaaat slide ;)
    • CommentAuthorjesse_nahan
    • CommentTimeJun 10th 2008 edited
     permalink
    Just set imagePath and thumbnailPath to the same folder in your album tag. It doesn't matter where your thumbs and images are located as long as you have properly specified the paths to both.
    • CommentAuthorkeran
    • CommentTimeJun 11th 2008
     permalink
    How to put picture and thumbnail in same folder with same name?!
    The script looks for thumb based on the name of the big picture, which must be same.... if i have understood well

    If there is option to write to XML both, picture name and thumb name it will be great but i didnt saw that solution

    Thanks
  1.  permalink
    Your initial post states that you're placing pictures and their associated thumbnails in the same folder, obviously with different names.

    In your xml, the album tag includes both imagePath and thumbnailPath settings. This tells monoslideshow where to find the image and thumbnail in each of the img tags. (I think you may be confused a bit by the defaults if you don't specify a thumbnail name in the img tag.)

    For example, assume that the images for one album are in a folder called slideshow_test. In slideshow_test is an image, named test_picture.jpg, and its related thumbnail, named test_picture_thumbnail.jpg. Then an album containing just that one image is roughly this (you can add however many images):

    <album thumbnail="album_thumbnail.jpg" title="Just a test" description="Sample description" imagePath="slideshow_test" thumbnailPath="slideshow_test">
    <img src="test_picture.jpg" thumbnail="test_picture_thumbnail.jpg" title="Sample title" description="Sample description"/>
    </album>
    • CommentAuthorkeran
    • CommentTimeJun 12th 2008
     permalink
    Thats what I'm looking for
    Didn't see anywhere in examples or in documentation this tag for thumbs: <strong>thumbnail="test_picture_thumbnail.jpg"</strong>

    Thanks... :))))