• Does exactly what it is meant to do: display the featured image that you’ve set in your post and provide a way for users to zoom in on detail. I would say that there are two improvements that could be made:

    1. Place the featured image where the [zoom] shortcode was found in the post/page. I managed to come up with a quick workaround: I added this empty <div> to the place in my page where I wanted the featured image to be inserted:
      <div class="zoom-here"></div>

      And then I added this jQuery that moves the featured image inside of that div:

      <script>
      jQuery(document).ready(function($){
         $(".zoom-here").append($(".zoom-wrapper"));
      });
      </script>

    2. It would be nice to display a “Loading…” GIF instead of the featured image until the background image (zoom container) has finished loading. This would be especially useful if the background image is large, because the user might wonder why the zoom isn’t working when the rest of the page has already been displayed but not the background image. I tried to do that using a document.load() and window.load() event handler, but couldn’t get it to work, I’m assuming because the plugin uses its own .load() function to load the zoom container.

    You can see a demo here.

  • The topic ‘Awesome plugin’ is closed to new replies.