Image's "link_to_url" attribute
Permalink Browser Info Environment
Thanks for a very useful block. I have been trying to edit it slightly to try and use the file attribute "link_to_url" set within the image properties.
Basically we want to be able to have a different link url set for each image, with this link url being put in the images properties in the "link_to_url" attribute. We won't be using the blocks link url option at all, just relying on the images attribute.
I just can't seem to grasp how to retrieve that attribute and place it into our new template. (a complete php newbie)
Are you able to offer any assistance on how this might be achieved.
Many thanks
Kelv
Basically we want to be able to have a different link url set for each image, with this link url being put in the images properties in the "link_to_url" attribute. We won't be using the blocks link url option at all, just relying on the images attribute.
I just can't seem to grasp how to retrieve that attribute and place it into our new template. (a complete php newbie)
Are you able to offer any assistance on how this might be achieved.
Many thanks
Kelv
Type: | Discussion |
---|---|
Status: | New |
1) Find this line of code (should be around line #69):
...and directly below that, add this new line of code:
2) Find this line of code (should be around line #34):
...and change it to this:
Best,
Jordan