Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #603152

    Hello the team,

    In the Ajax Portfolio , I’d like to know if it’s possible to change the link of the preview image. I’d like to link the image to the item post instead of the image in the lightbox.

    I tried to change

    $output .= " <a href='".$img[0]."' class='portolio-preview-list-image' title='".$description."' ><img src='".$img[0]."' title='".$title."' alt='".$alt."' /></a>";

    to

    $output .= " <a href='".{$link}."' title='".$description."'><img src='".$img[0]."' alt='".$alt."' /></a>";

    but the link is this of the current page instead of of this of the item page.

    Pleae help.

    Best regards.

    • This topic was modified 8 years, 9 months ago by hurraken.
    #604205

    Hi!

    Make sure you have this option selected – http://i.imgur.com/VcfM1sf.png

    Best regards,
    Josue

    #604409

    Hello Josue,

    Thank you for your help !

    Best regards

    #604423

    You are welcome, glad to help :)

    Regards,
    Josue

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.