Support

Account

Home Forums Add-ons Gallery Field linking to attachment page in place of the file itself Reply To: linking to attachment page in place of the file itself

  • Hi @frederic_c

    The gallery field will return an array of images. Each image is itself an array containing lots of data such as ‘id’.

    You can use the id to find the attachment link like so:
    http://codex.wordpress.org/Function_Reference/get_attachment_link

    Thanks
    E