• Resolved stephunique

    (@stephunique)


    Hello,

    I have 2 websites that was built on WordPress, both have Wocommerce installed and both have right click deactivated.

    On one of them, nothing happens when you click on it, instead, when you you mouse over the image, Woocommerce’s magnifying glass appears and the is zoomed in. Moving the cursor around changes the field of view. This is exactly what I want.

    On my other website however, when you left click on an image such as a product image in the SHOPS ONLY (this doesn’t happen in the posts), the file opens in a new tab so that visitors can see the full file address and access the original image. This includes the gallery images of the product – instead of the other images displaying for the buyer to see, the entire page moves to the address of the image.

    Eg clicking on a product picture takes you to the typical “wp-content/uploads…” URL.

    This only happens for photos of products in the shop, not for any other image in my posts.

    I have already disabled right-click on both sites.

    I am not sure if the difference between the two are due to the different themes I used, but, how can I make it stop linking to the original file and turn it into a magnifying glass on hover instead? I posted this question in a another forum on WordPress but was suggested I ask Woocommerce since it only happens to my shop images.

    I have tried to delete the URL in the file’s information in the Media section, but the URL is listed there and cannot be edited and thus cannot be deleted.

    • This topic was modified 8 months, 4 weeks ago by stephunique. Reason: Add more detail

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to stop images linking to itself/how to zoom in to picture’ is closed to new replies.