WordPress.org

Support

Support » Plugins and Hacks » add an url for each picture of the gallery

add an url for each picture of the gallery

  • hello

    i want to add a different url for each picture of the gallery so when someone’s click on the image he will be redirected to the url

    thanks all

Viewing 4 replies - 1 through 4 (of 4 total)
  • i am seeking an answer for this also. did you have any luck? it seems as though we are only able to add 1 url for all images in a gallery, even though i’ve specified a different url per each image in the media editor. thanks!

    Plugin Author Aesqe

    @aesqe

    Hmm. I could maybe add option to specify which custom field’s value you want to use as the link.

    You could then add a custom field named, for example, “custom_link”, choose “custom field” from the “link to” drop down menu, and then input “custom_link” in the “custom field name” field.

    That would probably double the number of SQL queries for each gallery, I’ll see if I can think up a better solution.

    thank you so much for your response.

    when we upload each individual image, there is already a place in the WordPress admin/uploader for a url. that is where i add my urls per image to make them clickable to an external webpage. is it possible to have that as a “link to” option vs a custom field?

    i don’t think that is even an option for the WordPress default gallery, so that would be HUGE for everyone.

    thank you again and again!

    Plugin Author Aesqe

    @aesqe

    @jennifer: that field’s value isn’t saved anywhere in the database, it’s there only so you could set a link for the currently-viewed media, when it’s inserted into the post editor.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘add an url for each picture of the gallery’ is closed to new replies.