Support » Plugin: WooCommerce Image Hover » Image resolution problem

Viewing 1 replies (of 1 total)
  • Plugin Author Brad Davis

    (@brad-davis)

    Hi Harley1990,

    If you are familiar with modifying plugins, it is very quick change:

    In the js folder, open the wcih.js file and change line 5 from,
    $(".thumbnails a").hover(
    to
    $(".thumbnails a img").hover(
    and then on line 8, change from
    var photo_fullsize = $(this).attr('href');
    to
    var photo_fullsize = $(this).attr('src');

    Now that your version of the plugin is different, to make sure you do not get an update you will need to change the version of the plugin, you can do this in the woocommerce-image-hover.php file, look on line 6 and change it to 999.

    Hope that helps.

Viewing 1 replies (of 1 total)
  • The topic ‘Image resolution problem’ is closed to new replies.