Title: Some thumbnails do not display.
Last modified: August 21, 2016

---

# Some thumbnails do not display.

 *  [geckoblue4ever](https://wordpress.org/support/users/geckoblue4ever/)
 * (@geckoblue4ever)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/some-thumbnails-do-not-display/)
 * Everything appears to work fine
    -EXCEPT: About half of the thumbnails in the
   gallery are not showing up. Only the gray background is shown. When the blank
   thumbnail is clicked, it will pop-up the gallery and display the image fine, 
   but still no thumbnail.
 * [http://mitchellmotorcoach.findmihosting.com/our-fleet/](http://mitchellmotorcoach.findmihosting.com/our-fleet/)

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/topic/some-thumbnails-do-not-display/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/some-thumbnails-do-not-display/page/2/?output_format=md)

 *  [NinnaDesign](https://wordpress.org/support/users/ninnadesign/)
 * (@ninnadesign)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/some-thumbnails-do-not-display/#post-5137116)
 * I have the same problem with all of my pages… With updated version of the plugin
   and with the old version.
 * I guess it has something to do with Facebook. :S It seams that plugin or better
   said certain thumbnails don’t have the right link to the image… The problem is
   that thumbnail’s links look like:
    [https://scontent-b.xx.fbcdn.net/hphotos-xpf1/v/t1.0-9/s130x130/p206x206/10345828_718311031550223_7567127018630783344_n.jpg?oh=c5f010b65884fde33fb28e349730bca9&oe=544537CE](https://scontent-b.xx.fbcdn.net/hphotos-xpf1/v/t1.0-9/s130x130/p206x206/10345828_718311031550223_7567127018630783344_n.jpg?oh=c5f010b65884fde33fb28e349730bca9&oe=544537CE)(
   this one doesn’t work)
 * But if you delete **v/**, thumbnail will work (with “Inspect Element”):
    [https://fbcdn-sphotos-e-a.akamaihd.net/hphotos-ak-xaf1/t1.0-9/s130x130/p206x206/26204_107723195932931_6050608_n.jpg?oh=b9d4a87517bad025c872ce9d787cc28d&oe=543ABA89&__gda__=1412912344_a2ad54e0afe1eb398f879a44ef62b9d3](https://fbcdn-sphotos-e-a.akamaihd.net/hphotos-ak-xaf1/t1.0-9/s130x130/p206x206/26204_107723195932931_6050608_n.jpg?oh=b9d4a87517bad025c872ce9d787cc28d&oe=543ABA89&__gda__=1412912344_a2ad54e0afe1eb398f879a44ef62b9d3)
 * Unfortunatelly, I have no idea, how to fix it…
 *  [LnkSi](https://wordpress.org/support/users/lnksi/)
 * (@lnksi)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/some-thumbnails-do-not-display/#post-5137142)
 * Yep, same problem here on a dev site i’m working on. loads of forbidden errors
   in the network log. facebook hotlinking prevention maybe?
 * changing to another plugin. any recommendations?
 *  [rcaweb](https://wordpress.org/support/users/rcaweb/)
 * (@rcaweb)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/some-thumbnails-do-not-display/#post-5137161)
 * If you change <i style=”background-image:url(<?php echo $picture ?>)”></i> to
   <i style=”background-image:url(<?php echo $photo->source ?>)”></i> this is templates/
   single-album.php of the plugin folder
 * the images will show for the thumbnails, this is a band-aid fix, but it works:
   [http://crossfithighroad.com/facebook-gallery/](http://crossfithighroad.com/facebook-gallery/)
 *  [LnkSi](https://wordpress.org/support/users/lnksi/)
 * (@lnksi)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/some-thumbnails-do-not-display/#post-5137162)
 * Thanks rcaweb! Will try that fix but in the mean time, I had to switch my site
   to the [Facebook Albums](http://glamanate.com/facebook-album-wordpress-plugin?utm_source=PANTHEON_STRIPPED&utm_medium=PANTHEON_STRIPPED&utm_campaign=PANTHEON_STRIPPED)
   plugin due to deadlines etc.
 *  [veggi-boy](https://wordpress.org/support/users/veggi-boy/)
 * (@veggi-boy)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/some-thumbnails-do-not-display/#post-5137164)
 * Thanks rcaweb, that works!
 *  [snackd](https://wordpress.org/support/users/snackd/)
 * (@snackd)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/some-thumbnails-do-not-display/#post-5137170)
 * Yep. Thanks much!
 *  [MHFC](https://wordpress.org/support/users/mhfc/)
 * (@mhfc)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/some-thumbnails-do-not-display/#post-5137184)
 * rcaweb how do u make the whole album to get load?
 *  [kabirkh](https://wordpress.org/support/users/kabirkh/)
 * (@kabirkh)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/some-thumbnails-do-not-display/#post-5137189)
 * rcaweb thanks for sharing. However, when I click “Show more” the page again loads
   empty thumbnails…
 * What solution do I have?
 * Thanks!
 *  [SandyMe](https://wordpress.org/support/users/sandyme/)
 * (@sandyme)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/some-thumbnails-do-not-display/#post-5137190)
 * THANK YOU rcaweb! This works. If you also change templates/single-album-ajax.
   php then it solves the problem of the “show more” images not working.
 *  [Siyahperde](https://wordpress.org/support/users/korkuluk/)
 * (@korkuluk)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/some-thumbnails-do-not-display/#post-5137192)
 * Hello, thank you all for your advises.
    I change codes that “rcaweb” advised 
   in single-album.php and single-album-ajax.php too. But, it didnt work for me.
   I still can’t see thumbnails. Same problem as “geckoblue4ever”.
 * Any other advises?
 * Thanks.
 *  [nuchtchas](https://wordpress.org/support/users/nuchtchas/)
 * (@nuchtchas)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/some-thumbnails-do-not-display/#post-5137197)
 * tried your fix and now the grayed out thumbnails aren’t showing. How did it get
   so messed up. Reinstalled an older plugin, back when it worked, album gone still,
   updated, it’s back but with gray thumbnails.. If anyone else knows of a good 
   way to fix, please post. There are three years of albums on my friend’s site,
   and it will be hell to go back and edit each one.
 *  [Siyahperde](https://wordpress.org/support/users/korkuluk/)
 * (@korkuluk)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/some-thumbnails-do-not-display/#post-5137200)
 * [http://wordpress.org/support/topic/thumbnails-didnt-load-any-more?replies=2#post-6006809](http://wordpress.org/support/topic/thumbnails-didnt-load-any-more?replies=2#post-6006809)
 * Solution from a friend. May it can be helpful for you.
 * Just put
    $picture = $photo->picture; as he said at the bottom of -7 and 8 line
   of single-album.php -3 and 4 line of single-album-ajax.php It works.
 *  [nuchtchas](https://wordpress.org/support/users/nuchtchas/)
 * (@nuchtchas)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/some-thumbnails-do-not-display/#post-5137201)
 * sadly I don’t see a change, it’s still grayed out 🙁 thank you for trying to 
   help though
 *  [Siyahperde](https://wordpress.org/support/users/korkuluk/)
 * (@korkuluk)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/some-thumbnails-do-not-display/#post-5137202)
 * Give it a try! ^_^ May i can’t tell it right.
    Working in my site file codes 
   are here. I hope it works on yours. **single-album.php**
 *     ```
       <blockquote></blockquote><div class="fb-PhotosWrap fb-container" data-paging="<?php $next ?>">
         <div id="<?php $count . "_" . $id ?>" data-next="<?php $next ?>" data-id="<?php $id ?>" data-limit="<?php $limit ?>" data-showfburl="<?php $showfburl ?>" class="fb-PhotoGallery fb-Clear">
       <div class="fb-PhotoContainer" data-albumid="<?php echo $albumid ?>" data-page="1" >
          <?php
          if(!empty($photos->data)):
          foreach ($photos->data as $key => $photo) {
                     $res =  Fppg::str_lreplace('/', '/' . $code . '/', $photo->picture);
       			  $picture = $photo->picture;
                     $picture= preg_replace('/_[aso].([^_a.]*)$/', '_n.$1', $res);
       			  $picture = $photo->picture;
                     $rel = $settings['fppg_gallery'] == 'PrettyPhoto' ? 'fbgallery[' . $albumid . ']' : $albumid . 'fbgallery';
                               ?>
                   <div class="fb-PhotoThumbWrap">
                       <a id="" target="_blank" class="fb-PhotoThumbLink fb-PhotoThumbnail fb-Photo<?php echo $classtext ?>Thumb" data-cancomment="" data-viewonfb="<?php  echo $showfblink ?>" data-fburl="<?php  echo $photo->link ?>" data-from="<?php  echo $photo->from->id ?>" data-id="<?php  echo $photo->id ?>" href="<?php  echo $photo->source ?>" rel="<?php  echo $rel ?>" title="<?php echo $photo->name ?>">
                           <i style="background-image:url(<?php echo $picture ?>)"></i>
                       </a>
                   </div>
                       <?php
                       }
                   endif;
                      ?>
       <?php
       if($next!=""){
       ?>
           <div class="fb-BottomBar" data-page="1" data-size="<?php echo strtolower($classtext); ?>" data-cancomment="<?php echo  $cancomment ?>" data-next="<?php echo $next ?>" data-id="<?php echo  $id ?>" ><span class="fb-Loadmore" style="margin: 0 5px"><img src="<?php echo  FPPG_URL ?>images/down-pointer.png" /><span id="fb-LoadMoreWall"><?php echo  __('Show more', 'fppg') ?></span></span></div>
       <?php
       }
       ?>
                </div>
   
           </div>
       </div>
       ```
   
 * **single-album-ajax.php**
 *     ```
       <?php
       foreach ($photos as $key => $photo) {
           $res = Fppg::str_lreplace('/', '/' . $code . '/', $photo->picture);
       	$picture = $photo->picture;
           $picture = preg_replace('/_[aso].([^_a.]*)$/', '_n.$1', $res);
       	$picture = $photo->picture;
   
           $rel = $settings['fppg_gallery'] == 'PrettyPhoto' ? 'fpgallery[' . $albumid . ']' : $albumid . 'fpgallery';
           ?>
           <div class="fb-PhotoThumbWrap">
               <a id="" target="_blank" class="fb-PhotoThumbLink fb-PhotoThumbnail fb-Photo<?php echo $classtext ?>Thumb" data-cancomment="" data-viewonfb="<?php echo $showfblink ?>" data-fburl="<?php echo $photo->link ?>" data-from="<?php echo $photo->from->id ?>" data-id="<?php echo $photo->id ?>" href="<?php echo $photo->source ?>" rel="<?php echo $rel ?>" title="<?php echo $photo->name ?>">
                   <i style="background-image:url(<?php echo $picture ?>)"></i>
               </a>
           </div>
           <?php
       }
       ?>
   
       <?php if ($next != "") { ?>
           <div class="fb-BottomBar" data-page="1"  data-size="<?php echo strtolower($classtext); ?>" data-cancomment="<?php echo $cancomment ?>" data-next="<?php echo $next ?>" data-id="<?php echo $id ?>" ><span class="fb-Loadmore" style="margin: 0 5px"><img src="<?php echo FPPG_URL ?>images/down-pointer.png" /><span id="fb-LoadMoreWall"><?php echo __('Show more', 'fppg') ?></span></span></div>
       <?php
       }
       ```
   
 *  [nuchtchas](https://wordpress.org/support/users/nuchtchas/)
 * (@nuchtchas)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/some-thumbnails-do-not-display/#post-5137203)
 * Ah-ha! that did something! Now the thumbnails are smaller than the boxes set 
   up for them, but I see the images. thank you.

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/topic/some-thumbnails-do-not-display/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/some-thumbnails-do-not-display/page/2/?output_format=md)

The topic ‘Some thumbnails do not display.’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/facebook-page-photo-gallery.svg)
 * [Facebook Page Photo Gallery](https://wordpress.org/plugins/facebook-page-photo-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/facebook-page-photo-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/facebook-page-photo-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/facebook-page-photo-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/facebook-page-photo-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/facebook-page-photo-gallery/reviews/)

 * 20 replies
 * 13 participants
 * Last reply from: [fmhty](https://wordpress.org/support/users/fmhty/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/some-thumbnails-do-not-display/page/2/#post-5137215)
 * Status: not resolved