Title: jonhcase's Replies | WordPress.org

---

# jonhcase

  [  ](https://wordpress.org/support/users/jonhcase/)

 *   [Profile](https://wordpress.org/support/users/jonhcase/)
 *   [Topics Started](https://wordpress.org/support/users/jonhcase/topics/)
 *   [Replies Created](https://wordpress.org/support/users/jonhcase/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/jonhcase/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/jonhcase/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/jonhcase/engagements/)
 *   [Favorites](https://wordpress.org/support/users/jonhcase/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Recent FB Posts] Videos show ?](https://wordpress.org/support/topic/videos-show/)
 *  [jonhcase](https://wordpress.org/support/users/jonhcase/)
 * (@jonhcase)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/videos-show/#post-4955059)
 * I was having this problem as well. I checked a few other plugins that did something
   similar and noticed that if you open the class-public.php file in this plugin’s“
   includes” directory and change this line:
 * `<img class="rfbp-image" src="<?php echo esc_attr($p['image'] . '?type=' . $opts['
   img_size']); ?>" style="max-width: <?php echo $max_img_width; ?>; max-height:
   <?php echo $max_img_height; ?>" alt="" />`
 * to:
 * `<img class="rfbp-image" src="<?php echo esc_attr($p['image']); ?>" style="max-
   width: <?php echo $max_img_width; ?>; max-height: <?php echo $max_img_height;?
   >" alt="" />`
 * It starts displaying video small thumbnails. Not sure if removing that bit of
   code is a good fix, but it’s passable for my purposes.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Recent FB Posts] show link preview](https://wordpress.org/support/topic/show-link-preview/)
 *  [jonhcase](https://wordpress.org/support/users/jonhcase/)
 * (@jonhcase)
 * [12 years ago](https://wordpress.org/support/topic/show-link-preview/#post-4458765)
 * Not sure if this is a good fix, but if you change this line in includes, class-
   public.php you can get a small preview for YouTube links.
 * Line 236:
    `<img class="rfbp-image" src="<?php echo esc_attr($p['image'] . '?
   type=' . $opts['img_size']); ?>" style="max-width: <?php echo $max_img_width;?
   >; max-height: <?php echo $max_img_height; ?>" alt="" />`
 * to:
    `<img class="rfbp-image" src="<?php echo esc_attr($p['image']); ?>" style
   ="max-width: <?php echo $max_img_width; ?>; max-height: <?php echo $max_img_height;?
   >" alt="" />`
 * Just removing that one bit of code seems to give you a small image.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Recent FB Posts] show link preview](https://wordpress.org/support/topic/show-link-preview/)
 *  [jonhcase](https://wordpress.org/support/users/jonhcase/)
 * (@jonhcase)
 * [12 years ago](https://wordpress.org/support/topic/show-link-preview/#post-4458764)
 * I’m trying to fix this as well. Just out of curiosity I installed a few other
   facebook widgets to see if they could clue me in to a solution. I noticed that
   the ones that show external preview images end in:
 * `maxresdefault.jpg`
 * This widget seems to be requesting everything in the same way right up to the
   end, which is:
 * `maxresdefault.jpg?type=normal`
 * Removing the “?type=normal” while inspecting in Chrome fixes it, I am just not
   sure how to incorporate this fix into the actual output. Will keep looking into
   this.

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