Title: Problem when resize window
Last modified: August 30, 2016

---

# Problem when resize window

 *  Resolved [Alexander Balya](https://wordpress.org/support/users/balya/)
 * (@balya)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/problem-when-resize-window/)
 * Thank you for the plug-in, it is very good.
 * I use plug-in for image width is 100%.
    If you resize the browser window, the
   size of the container does not change. Because of this, the entire unit seems
   to be broken. It is necessary to add the event to recreate the container every
   time you change the size of the browser window.
 * Here the effect of changing the size of the browser window: [https://yadi.sk/i/t9VZfSjgjWhdS](https://yadi.sk/i/t9VZfSjgjWhdS)
 * _P.S. Sorry for my English._
 * [https://wordpress.org/plugins/wp-image-zoooom/](https://wordpress.org/plugins/wp-image-zoooom/)

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

 *  Plugin Author [SilkyPress](https://wordpress.org/support/users/diana_burduja/)
 * (@diana_burduja)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/problem-when-resize-window/#post-6613811)
 * Yes, you’re right, I didn’t think of that. I’ll implement that as soon as possible.
   Thanks for mentioning this.
 *  Thread Starter [Alexander Balya](https://wordpress.org/support/users/balya/)
 * (@balya)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/problem-when-resize-window/#post-6613895)
 * Also, this problem occurs if the page contains the active elements above the 
   container. For example, if the spoiler is located above the container in a closed
   state. If disclose spoiler, the entire contents of shifts below, but does not
   change the position of the container. It is necessary to monitor the size and
   position of the main image, and if it changes, rebuild the container.
 *  Thread Starter [Alexander Balya](https://wordpress.org/support/users/balya/)
 * (@balya)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/problem-when-resize-window/#post-6613896)
 * I use a temporary solution when resizing the browser window:
 *     ```
       jQuery(window).resize(function() {
           jQuery(".zoomContainer").remove();
           jQuery(".zoooom").image_zoom(options);
       });
       ```
   
 * But this code is, of course, need to be improved, because it strongly inhibits
   the page with a smooth change of the size of the browser window.
 *  Plugin Author [SilkyPress](https://wordpress.org/support/users/diana_burduja/)
 * (@diana_burduja)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/problem-when-resize-window/#post-6614014)
 * Ok, I fixed that now in the 1.1.4 version. Now it will regenerate the zoom container
   whenever a resize event stops for 500ms.
 * It’s nice when I get bug reports with a handed solution like that 🙂

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

The topic ‘Problem when resize window’ is closed to new replies.

 * ![](https://ps.w.org/wp-image-zoooom/assets/icon-128x128.png?rev=1166982)
 * [WP Image Zoom](https://wordpress.org/plugins/wp-image-zoooom/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-image-zoooom/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-image-zoooom/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-image-zoooom/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-image-zoooom/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-image-zoooom/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [SilkyPress](https://wordpress.org/support/users/diana_burduja/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/problem-when-resize-window/#post-6614014)
 * Status: resolved