Not signed in (Sign In)

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

    • CommentAuthoramihere
    • CommentTimeJun 3rd 2008
     
    Hello,

    I have little question. When I click on the large thumbnail, original picture opens. But I would like to open next picture in the gallery instead it. Any idea how to do this or how to change source script? Thanks for all ideas.

    Petr
    •  
      CommentAuthorsidtheduck
    • CommentTimeJun 3rd 2008
     
    Petr,

    I am assuming you are using the 'default' theme (if not the code may be a little different and if you tell me the theme you are using, I can direct you better).
    Find the following code:print '
    <div id="picture-holder">
    <a accesskey="v" href="'.plogger_get_source_picture_url().'">'.$imgtag.'</a>
    </div>';
    and edit it to read:print '
    <div id="picture-holder">
    <a accesskey="v" href="'.plogger_get_next_picture_link().'">'.$imgtag.'</a>
    </div>';


    That should do it! :D
    • CommentAuthoramihere
    • CommentTimeJun 3rd 2008
     
    It should do it, but it doesn't ;-)

    But after some attempts I found what's wrong - you wrote to change.plogger_get_source_picture_url()to.plogger_get_next_picture_link()but it has to change to
    .plogger_get_next_picture_url() otherwise some ugly functionless link appears next to bottom left corner of the picture :-)

    Thanks for your help and showing me the right way ;-)
    •  
      CommentAuthorsidtheduck
    • CommentTimeJun 3rd 2008
     
    doh! Glad you got it working! Sorry about the mixup there! :D