Title: Thumbnail icon missing again
Last modified: July 21, 2021

---

# Thumbnail icon missing again

 *  Resolved [havemaskwilltravel](https://wordpress.org/support/users/havemaskwilltravel/)
 * (@havemaskwilltravel)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/thumbnail-icon-missing-again/)
 * One year ago I also ran into this issue (see [https://wordpress.org/support/topic/thumbnail-icon-missing/](https://wordpress.org/support/topic/thumbnail-icon-missing/))
 * The solution was to add the following script to Advanced > Custom JS code:
 * setTimeout(function() { $(‘.slick-slide’).each(function() { var $this = $(this);
   $this.attr(‘data-options’, JSON.stringify({thumb: $this.attr(‘href’)})); }); },
   100);
 * That worked up until recently. The thumbnail icon has disappeared again.
 * The source code shows the following:
 * <button data-fancybox-thumbs=”” class=”fancybox-button fancybox-button–thumbs”
   title=”Thumbnails (G)” style=”display: none;”></button>
 * Do you perhaps have an updated solution to the problem of the missing thumbnails
   icon?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fthumbnail-icon-missing-again%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [arisoft](https://wordpress.org/support/users/arisoft/)
 * (@arisoft)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/thumbnail-icon-missing-again/#post-14684842)
 * Hello
 * Try the following code:
 * `$('a.kb-bg-slide-contain').each(function() { var $this = $(this); $this.attr('
   data-options', JSON.stringify({thumb: $this.attr('href')})); });`
 *  Thread Starter [havemaskwilltravel](https://wordpress.org/support/users/havemaskwilltravel/)
 * (@havemaskwilltravel)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/thumbnail-icon-missing-again/#post-14684886)
 * Excellent, that works.
    Thank you very much!

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

The topic ‘Thumbnail icon missing again’ is closed to new replies.

 * ![](https://ps.w.org/ari-fancy-lightbox/assets/icon-256x256.png?rev=1580843)
 * [ARI Fancy Lightbox - Popup for WordPress](https://wordpress.org/plugins/ari-fancy-lightbox/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ari-fancy-lightbox/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ari-fancy-lightbox/)
 * [Active Topics](https://wordpress.org/support/plugin/ari-fancy-lightbox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ari-fancy-lightbox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ari-fancy-lightbox/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [havemaskwilltravel](https://wordpress.org/support/users/havemaskwilltravel/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/thumbnail-icon-missing-again/#post-14684886)
 * Status: resolved