Not signed in (Sign In)

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

    • CommentAuthornielsfogt
    • CommentTimeJul 30th 2008 edited
     
    I would like to write my pics in an album only as <code><img>'s</code> instead of <code><a href><img></code> which would link to the directory/picture. I am a newbie, so I couldnt find the place where the code writes the <code><a href></code> surronding the <code><img></code> tags...any help?
    •  
      CommentAuthorsidtheduck
    • CommentTimeJul 30th 2008
     
    nielsfogt,

    Which theme are you using? If you let us know, we can help you remove the link tags.
    • CommentAuthornielsfogt
    • CommentTimeJul 30th 2008
     
    default theme.....i sort of accomplished my intention by unchecking "Allow Full Picture Access:" in the options menu, but the pictures itself is still written as link (IE - the little hand and a empty description box appears when you mouse over it). So it would be nice to simply write it as an img, so users dont thing they should be able to click it and nothing happens...thx!
    •  
      CommentAuthorsidtheduck
    • CommentTimeJul 30th 2008
     
    Okay, for the default theme, open the picture.php file located in that folder and look for the following code (should be around line 38):
    print '
    <div id="picture-holder">
    <a accesskey="v" href="'.plogger_get_source_picture_url().'">'.$imgtag.'</a>
    </div>';

    and change it to read:
    print '
    <div id="picture-holder">
    '.$imgtag.'
    </div>';
    • CommentAuthornielsfogt
    • CommentTimeJul 30th 2008
     
    you da man!