Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author codepeople

    (@codepeople)

    Hi,

    If you want use the original size of images, follow the steps below:

    1. Open the functions.php file, located in “/wp-content/plugins/codepeople-post-map/include/functions.php”, in the text editor your choice.

    2. Go to the lines of code:

    $thumb = wp_get_attachment_image_src($matches[1], ‘thumbnail’);

    and

    $thumb = wp_get_attachment_image_src($this->_get_img_id($point[‘thumbnail’]), ‘thumbnail’);

    and in both cases change the ‘thumbnail’ word at the end of code, to ‘large’, like below:

    $thumb = wp_get_attachment_image_src($matches[1], ‘large’);

    and

    $thumb = wp_get_attachment_image_src($this->_get_img_id($point[‘thumbnail’]), ‘large’);

    Best regards.

    Thread Starter xikiatra

    (@xikiatra)

    Thanks…but I don′t want use the original image…I need only “change the url link in the thumbnail”…to go the big picture.

    Thread Starter xikiatra

    (@xikiatra)

    Example: the link in the thumbnail when I put the mouse is… https://website/contact… and I need when put the mouse over thumbnail apear ….https://website/originalimage.jpg.

    Thanks

    Plugin Author codepeople

    (@codepeople)

    Hi,

    This customization is more complex, so in this case I recommend you insert the image tag directly in the point description with a link to the full size image:

    <img src=”URL TO THE THUMBNAIL”>

    Best regards.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Change url link in thumbnail’ is closed to new replies.