View Full Version : How to add hyperlink to my image array - url of gallery scrip in body of this note

Elle Smith Fagan
10-31-2013, 06:14 PM
1) Script Title: FULL PAGE

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/fullpageslideshow/index.htm

3) Describe problem: This script is perfect , but each image MUST hyperlink to the full artwork description/buy page.

How and where may I insert a hyperlink for each image?

I will experiment, using the usual comma and instruction in quotes method and wait your reply.



11-04-2013, 05:36 AM
Use this modified version of the script (right click and 'Save As'):


Now you can add an optional link and an optional target to the json, ex:

"playlist": [
"url": "img/img0.jpg",
"caption": "A bird perching on a twig.",
"link": "http://www.dynamicdrive.com/",
"target": "_blank"
"url": "img/img1.jpg",
"caption": "Lions lounging on the grass."
"url": "img/img2.jpg",
"caption": "Seagulls gazing collectively."
"url": "img/img3.jpg",
"caption": "Snail on a table."
"url": "img/img4.jpg",
"caption": "A lone wolf looks on..."


I'm only showing a link and target for the first image. Each may have them. If no target is specified, it will open on the same page.