Title: [Plugin: Youtube Channel Plugin] Thumbnail Width Declaration Ignored
Last modified: August 20, 2016

---

# [Plugin: Youtube Channel Plugin] Thumbnail Width Declaration Ignored

 *  [starsunflower](https://wordpress.org/support/users/starsunflower/)
 * (@starsunflower)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-youtube-channel-plugin-thumbnail-width-declaration-ignored/)
 * Hello! A friend would like to use this plugin so I thought I would give it a 
   whirl in a sandbox WP installation. The showcase width works but the thumbnail_width
   does not. When the width specified at “200” in the shortcode, the thumbnail displays
   at 478×300 on the page. I added .youtubechannelEntry {height: 200px; width: 200px!
   important;} to the stylesheet and get no response, although I do get response
   for the height.
 * In the html being rendered, there’s a / in the width of the img src. This is 
   what it looks like:
 * `<img src="http://i.ytimg.com/vi/D73waEoPKy8/0.jpg" width="200/"/>`
 * I tried to find where this could be being generated in the PHP but am not sure.
   I’m not super familiar with the single quotes and double quotes syntax or preg_replace.
 * **Line 75**
 *     ```
       $entries_output .= "<img src='" . $thumbnail . "' width=" . $thumbnail_width . "/>";
             if ($showcase != '') { $entries_output .= "</a>"; }
             $entries_output .= "</div>";
       ```
   
 * [http://wordpress.org/extend/plugins/youtube-channel-showcase/](http://wordpress.org/extend/plugins/youtube-channel-showcase/)

Viewing 1 replies (of 1 total)

 *  [Amy](https://wordpress.org/support/users/amyn/)
 * (@amyn)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-youtube-channel-plugin-thumbnail-width-declaration-ignored/#post-2620635)
 * Hi starsunflower,
 * I was having the same issue. I am not sure what is causing the widths to be so
   large.
 * You were close with your:
 * `.youtubechannelEntry {height: 200px; width: 200px !important;}`
 * Change it to:
 * `.youtubechannelEntry img{height: 200px; width: 200px !important;}`

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Youtube Channel Plugin] Thumbnail Width Declaration Ignored’
is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/youtube-channel-showcase.svg)
 * [Youtube Channel Plugin](https://wordpress.org/plugins/youtube-channel-showcase/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/youtube-channel-showcase/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/youtube-channel-showcase/)
 * [Active Topics](https://wordpress.org/support/plugin/youtube-channel-showcase/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/youtube-channel-showcase/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/youtube-channel-showcase/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Amy](https://wordpress.org/support/users/amyn/)
 * Last activity: [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-youtube-channel-plugin-thumbnail-width-declaration-ignored/#post-2620635)
 * Status: not resolved