Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #7382

    Hi there, I’m wondering if I can disable the feature where you hover over images in posts and it allows you to zoom in. I’d prefer to just have the image there and not allow people to zoom in as all the images I’m using will be large to begin with.

    Thanks a lot!

    #57750

    Hey,

    in js/avia.js delete following code to deactivate the lighbox effect:

    //activates the prettyphoto lightbox
    if(jQuery.fn.avia_activate_lightbox)
    jQuery('body').avia_activate_lightbox();

    //activates the hover effect for image links
    if(jQuery.fn.avia_activate_hover_effect)
    jQuery('#main').avia_activate_hover_effect();

    #57751

    Just turn off the link to the image (or lightbox) when you add the image into the post. Make it link to the post if you have no other option.

    #57752

    Thanks dude! Worked like a charm!

    #57753

    Glad that I could help you :)

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Stop image zoom’ is closed to new replies.