Title: Constant reload issue
Last modified: August 22, 2016

---

# Constant reload issue

 *  Resolved [ohodek](https://wordpress.org/support/users/ohodek/)
 * (@ohodek)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/constant-reload-issue/)
 * When you view [ The page reloads at least 10 times before staying is there any way to stop this?](http://www.sorealart.com/project/chess/)
 * [https://wordpress.org/plugins/featured-image-zoom/](https://wordpress.org/plugins/featured-image-zoom/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [cubecolour](https://wordpress.org/support/users/numeeja/)
 * (@numeeja)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/constant-reload-issue/#post-5882537)
 * It looks like you’re using the experimental ‘loupe’ feature. Does the reload 
   issue still occur if you don’t use the default display instead of the loupe?
 *  Thread Starter [ohodek](https://wordpress.org/support/users/ohodek/)
 * (@ohodek)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/constant-reload-issue/#post-5882545)
 * It works when I take off the loupe function but only when I access the image 
   trough the thumbnail. If I reload the page while on it it just does a constant
   reload loop.
 * Thank You
 *  Plugin Author [cubecolour](https://wordpress.org/support/users/numeeja/)
 * (@numeeja)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/constant-reload-issue/#post-5882559)
 * The reload was added as a fix to prevent the metrics getting offset when the 
   browser is resized. It should only reload once and this shouldn’t be too noticable
   as it should reload from the browser cache, however this may be affected by the
   size of the image files.
 * Your full size image is a PNG of 11.8MB which is a lot larger than the images
   I used when I developed the plugin.
 * Does it load any better if you swap out your image to use a jpg version reduced
   in size using the [tinyjpg](https://tinyjpg.com/) service? You should be able
   to get your full size image down to under 500k.
 *  Thread Starter [ohodek](https://wordpress.org/support/users/ohodek/)
 * (@ohodek)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/constant-reload-issue/#post-5882622)
 * Resized the image to a 573KB JPG still does the same thing. Any other ideas? 
   What would be an optimal image size to test this with?
 * The plugin works great and does what I need it too but I know my client will 
   have a problem with the reloading.
 * Thank you for your quick responses.
 *  Plugin Author [cubecolour](https://wordpress.org/support/users/numeeja/)
 * (@numeeja)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/constant-reload-issue/#post-5882661)
 * I have not been able to reproduce the repeated reload issue on my test site, 
   so there may be a javascript incompatibility.
 * The reload was added as a workaround to issues with the zoom overlay dimensions
   and position after the browser is resized, however in most cases this wouldn’t
   cause a problem.
 * As a workaround to the issue you have from the workaround you could remove the
   reload scripts by making some small edits to the featured-image-zoom.php plugin.
   Although it is not normally recommended to edit plugins as any changes will be
   lost after an upgrade, these are simple deletions that can easily be repeated.
 * If you are happy to do this the lines to delete are:
 * 74-75:
 *     ```
       jQuery(".zoom").bind("resize",function(){window.location.reload(false);});
       window.onorientationchange = function (){window.location.reload(false);}
       ```
   
 * and 89:
 *     ```
       wp_register_script( 'resize', plugin_dir_url(__FILE__) . 'js/jquery.resize.js', array('jquery'), '1.1.2', false );
       ```
   
 *  Thread Starter [ohodek](https://wordpress.org/support/users/ohodek/)
 * (@ohodek)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/constant-reload-issue/#post-5882700)
 * That fixes the issues. Unfortunately as you said now the zoom function does not
   line up at all on mobile. Is there any way to edit this code instead of removing
   it to work?
 * I have no experience with php
 *  Plugin Author [cubecolour](https://wordpress.org/support/users/numeeja/)
 * (@numeeja)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/constant-reload-issue/#post-5882730)
 * I’ve not been able to replicate this on my test site and it looks like you are
   now using a different plugin, so I’ll set this to closed for now.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Constant reload issue’ is closed to new replies.

 * ![](https://ps.w.org/featured-image-zoom/assets/icon-256x256.jpg?rev=1599203)
 * [Featured Image Zoom](https://wordpress.org/plugins/featured-image-zoom/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/featured-image-zoom/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/featured-image-zoom/)
 * [Active Topics](https://wordpress.org/support/plugin/featured-image-zoom/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/featured-image-zoom/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/featured-image-zoom/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [cubecolour](https://wordpress.org/support/users/numeeja/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/constant-reload-issue/#post-5882730)
 * Status: resolved