Title: skip class doesn&#039;t work
Last modified: August 22, 2016

---

# skip class doesn't work

 *  Resolved [szopja](https://wordpress.org/support/users/szopja/)
 * (@szopja)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/skip-class-doesnt-work/)
 * Hello Team,
    I have problem with my portfolio ajax preview. I have class ikautora–
   it shows photo of author. The thumb doesn’t load, so I decided to exclude this
   class. Unfortunately, the problem still exist. Please help!
 * My site address:
    [https://www.homesquare.pl/galeria/](https://www.homesquare.pl/galeria/)
 * And another problem is page [https://www.homesquare.pl/sklep/](https://www.homesquare.pl/sklep/)
 * I use product filters by attributes (I added it today and there is only few categories
   to pick up, but it shows my problem). When I filter something the photos didn’t
   load.
 * [https://wordpress.org/plugins/a3-lazy-load/](https://wordpress.org/plugins/a3-lazy-load/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Steve Truman](https://wordpress.org/support/users/a3rev/)
 * (@a3rev)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/skip-class-doesnt-work/#post-5680821)
 * **Hello szopia**
 * Thank you for the links.
 * re this:
    _” I have class ikautora – it shows photo of author. The thumb doesn’t
   load, so I decided to exclude this class. Unfortunately, the problem still exist.”_
 * szopia looking at your site with inspector – the reason that the author thumbnail
   class ikautora is not excluded is because it is wrapped in an `<a>` tag and not
   an image tag.
 * This is what i mean
 *     ```
       <a style="width: 40px; position: relative; overflow: hidden;" class="ikautora" href="https://www.homesquare.pl/pro/wyrzykowski-studio/"><img height="80" width="80" data-lazy-type="image" data-src="https://www.homesquare.pl/files/uploads/2015/01/Pawel-Wyrzykowski-80x80.jpg" alt="Wyrzykowski Paweł" class="lazy-hidden attachment-thumbnail wp-post-image" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" scale="0"><span class="image-overlay overlay-type-extern" style="display: none;"><span class="image-overlay-inside"></span></span></a>
       ```
   
 * I do not know what is making that – Theme theme or another plugin. But with that
   in place here are your options.
 * Exclude the WordPress class
    `attachment-thumbnail`
 * the only issue with using the global class from WordPress is that is will apply
   to all image thumbnails
 * The best way to do it is to should ask the theme developer to add a custom class
   for your author image (or not wrap the existing one in an `<a>` tag) and then
   you can exclude that class.
 * Re this:
    _“I use product filters by attributes (I added it today and there is
   only few categories to pick up, but it shows my problem). When I filter something
   the photos didn’t load.” _
 * The problem occurs because that content is loaded by ajax and the a3 Lazy Load
   core script does not support content loaded by ajax.
 * szopja again you should talk to the developer who make that plugin and ask him
   to add compatibility with a3 lazy Load for their content loaded by ajax.
 * We have included hooks and filters in the plugin to make that relatively easy
   to do. You can give them this script to apply it
 *     ```
       <?php if ( function_exists( 'a3_lazy_load_enable' ) ) { ?>
       jQuery(window).lazyLoadXT();
       <?php } ?>
       ```
   
 * While you wait for the developer to do that you can exclude lazy load on images
   on the product pages with this class
 * `attachment-shop_catalog`
 * I hope all of that helps you. Please let me know if you have any more questions
   or need any further clarification of what I have posted.
 * Steve

Viewing 1 replies (of 1 total)

The topic ‘skip class doesn't work’ is closed to new replies.

 * ![](https://ps.w.org/a3-lazy-load/assets/icon.svg?rev=1049979)
 * [a3 Lazy Load](https://wordpress.org/plugins/a3-lazy-load/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/a3-lazy-load/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/a3-lazy-load/)
 * [Active Topics](https://wordpress.org/support/plugin/a3-lazy-load/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/a3-lazy-load/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/a3-lazy-load/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Steve Truman](https://wordpress.org/support/users/a3rev/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/skip-class-doesnt-work/#post-5680821)
 * Status: resolved