Not signed in (Sign In)

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

    • CommentAuthordymo310
    • CommentTimeJan 19th 2007
     
    hi

    are there any way to make the "final" picture, the full sized one, open in a new (blank) window?

    thx
    • CommentAuthorjmetcalf
    • CommentTimeJan 20th 2007
     
    Edit the gallery.php file and search for the following section of code:

    "if ($level == "picture")"

    Within that section look for the following line:

    <a accesskey="v" href="'.$config["baseurl"].'images/'.$row["path"].'">'.$imgtag.'</a>

    Change it to:

    <a accesskey="v" href="'.$config["baseurl"].'images/'.$row["path"].'" target="_blank">'.$imgtag.'</a>
    • CommentAuthorskeeboo
    • CommentTimeJan 23rd 2007
     
    On a related question, is there a nice way to open the final full-sized pictures within a template based page? Instead of them showing up in the browser.

    I'd like to include instructions on how to save/set it as a background (for newbies) with each full image. It could probably be done with frames, but I'm not certain.
    • CommentAuthoropec
    • CommentTimeJul 1st 2008
     
    Hello, iīd like to change the funkcion for opening the Full Size image in a new window too, but it seem like the Code has changed since the psot from jmetcalf on jan2007.

    I canīt find the codeline in gallery.php which has to be modified.

    Can somebody help me?

    thx

    opec
    •  
      CommentAuthor_Eric_
    • CommentTimeJul 1st 2008
     
    The relevant line is in picture.php within your theme's directory:

    <a accesskey="v" href="'.plogger_get_source_picture_url().'">'.$imgtag.'</a>

    So you'd want to change that to:

    <a accesskey="v" href="'.plogger_get_source_picture_url().'" target="_blank">'.$imgtag.'</a>
    • CommentAuthorHolly
    • CommentTimeOct 2nd 2008
     
    I just followed Eric's most recent instructions (July 2008) and it didn't work for me.

    Is there a new way to do this?