Title: NextGen Shortcode image links&#8230;
Last modified: August 19, 2016

---

# NextGen Shortcode image links…

 *  [superfried](https://wordpress.org/support/users/superfried/)
 * (@superfried)
 * [15 years ago](https://wordpress.org/support/topic/nextgen-shortcode-image-links/)
 * Hello
 * I am having trouble with NextGen custom fields a site I am developing for a DJ
   friend. I am a graphic designer, ok with html and css, but new to php.
 * I have now replaced the custom fileds solution I found elsewhere with one posted
   by Shauno about 4 months ago. Instead of my images linking to a post or the custom
   field url I have inserted they do not link at all. When you click them it activates
   the next slide. This makes me think that perhaps I have selected something in
   the options that is overriding the custom fields. Or one of my other plugins 
   is causing a conflict.
 * Also, when I look at the code using chrome developer tools, there is no link 
   showing wrapped around the images.
 * In the fields for each image I have simply inserted a standard google url:
    [http://www.google.co.uk](http://www.google.co.uk)
 * Is this correct or do you also need the ‘href’ or to include a complete link 
   code including the ‘img src’ etc?
 * The development url is:
 * [http://www.atmosoft.co.uk](http://www.atmosoft.co.uk)
 * Any help would be gratefully received!
 * Superfried

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [superfried](https://wordpress.org/support/users/superfried/)
 * (@superfried)
 * [15 years ago](https://wordpress.org/support/topic/nextgen-shortcode-image-links/#post-2070213)
 * Ok, so I have been doing some more reading. I found that the ‘gallery.php’ file
   was inactive and potentially causing the problem. So I found a page that suggested
   I set-up a new file and locate it in a folder called ‘nggallery’ in my theme 
   folder.
 * Now, rather than use the actual nextgen widget, using shortcode in a text widget
   enables you to force it to link to the correct php file…
 * New php file…
    `gallery-latestreleases.php`
 * Located here…
    `wp-content/themes/dancefloor/nggallery`
 * Shortcode…
    `[nggallery id=1 template=latestreleases]`
 * So the slideshow works as before, but once again, the custom field links are 
   not working and when you click on the image it simply brings in the next slide.
 * If anyone can help with this it would be great, as this is one of the last niggles
   I need to iron out.
 * The development url is:
    `http://www.atmosoft.co.uk`
 * Superfried
 *  Thread Starter [superfried](https://wordpress.org/support/users/superfried/)
 * (@superfried)
 * [15 years ago](https://wordpress.org/support/topic/nextgen-shortcode-image-links/#post-2070322)
 * Hi don’t worry about this question anymore.
 * Used this slideshow instead.
 * `http://slideshow.hohli.com/`
    `http://wordpress.org/extend/plugins/a-slideshow/`
 * Simply put the code in a text widget where you can simply wrap the image code
   with link tags. Clean and simple.
 * Thanks
 * Superfried

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘NextGen Shortcode image links…’ is closed to new replies.

## Tags

 * [nextgen](https://wordpress.org/support/topic-tag/nextgen/)

 * 2 replies
 * 1 participant
 * Last reply from: [superfried](https://wordpress.org/support/users/superfried/)
 * Last activity: [15 years ago](https://wordpress.org/support/topic/nextgen-shortcode-image-links/#post-2070322)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
