Title: Pixie_12002's Replies | WordPress.org

---

# Pixie_12002

  [  ](https://wordpress.org/support/users/pixie_12002/)

 *   [Profile](https://wordpress.org/support/users/pixie_12002/)
 *   [Topics Started](https://wordpress.org/support/users/pixie_12002/topics/)
 *   [Replies Created](https://wordpress.org/support/users/pixie_12002/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/pixie_12002/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/pixie_12002/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/pixie_12002/engagements/)
 *   [Favorites](https://wordpress.org/support/users/pixie_12002/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: NextGen Smooth Gallery] Link to gallery page, vs. raw image](https://wordpress.org/support/topic/plugin-nextgen-smooth-gallery-link-to-gallery-page-vs-raw-image/)
 *  [Pixie_12002](https://wordpress.org/support/users/pixie_12002/)
 * (@pixie_12002)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-nextgen-smooth-gallery-link-to-gallery-page-vs-raw-image/#post-1534231)
 * I had a slightly different problem (wanted to link each image to its own page)
   so I’m not sure if this will help, but the place to find the link is in nggSmoothSharedFunctions.
   php.
 * This line is the link:
    `$aux["link"] = BASE_URL . "/" . $picture->path ."/" .
   $picture->filename;`
 * If you only have one smooth gallery and you want every image to link to the same
   place you can hard code the URL to your gallery. eg change the above line to:
   `
   $aux["link"] = BASE_URL . "/gallery";`
 * Otherwise you can use the gallery id in the link to distinguish between galleries:`
   $picture->gid;`
 * The options for opening in the new window and hover text are in this line at 
   the bottom of that file:
    `$out .= " <a target=\"_blank\" href=\"" . $picture["
   link"] . "\" title=\"View project info\" class=\"open\"></a>";`
 * I know there is probably a better way to do this, but I hope it helps.

Viewing 1 replies (of 1 total)