Title: Plugin using srcset
Last modified: August 22, 2016

---

# Plugin using srcset

 *  Resolved [Robin W](https://wordpress.org/support/users/robin-w/)
 * (@robin-w)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/plugin-using-srcset/)
 * I have taken over a site done by another developer, and have updated to the latest
   version of connections 8.1.5 and I’m using a template that calls
 * `<?php $entry->getLogoImage(); ?>`
 * When I look in firebug I see
 * <img class=”cn-image logo” width=”150″ height=”150″ srcset=”[http://www.site.com/wp-content/uploads/connections-images/thomas-cook/cust_thomas_logo-82089f9cdb91f719cb1281c94c1184aa.jpg](http://www.site.com/wp-content/uploads/connections-images/thomas-cook/cust_thomas_logo-82089f9cdb91f719cb1281c94c1184aa.jpg)
   1x” title=”Logo for Thomas Cook” alt=”Logo for Thomas Cook” sizes=”100vw”>
 * srcset isn’t valid anymore and when I look in code class.entry.output.php I see
   references to
 *     ```
       $srcset['image_custom'] = array( 'src' => $image['url'], 'width' => '1x' );
       ```
   
 * so not sure why the result
 * Can you help?
 * [https://wordpress.org/plugins/connections/](https://wordpress.org/plugins/connections/)

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

 *  Plugin Author [Steven](https://wordpress.org/support/users/shazahm1hotmailcom/)
 * (@shazahm1hotmailcom)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/plugin-using-srcset/#post-5538586)
 * **@ Robin W**
 * That is correct markup, in the initial 8.0 release I had support for HiDPI (Retina)
   images, so there was a 2x` img URL. There were some performance issues with those
   bargain hosts that prevent me from doing this on the fly as I was. I will reimplement
   this feature using async tasks at a later date.
 * Don’t confuse the *old* srcset with the *old* srcset attribute, they are completely
   different. This attribute is natively supported in the latest Chrome, Safari,
   iOS Safari, Opera and Chrome for Android. Other browsers have support added using
   the picturefill polyfill.
 * See here for more detail:
    [http://ericportis.com/posts/2014/srcset-sizes/](http://ericportis.com/posts/2014/srcset-sizes/)
 * And here for browser support:
    [http://caniuse.com/#search=srcset](http://caniuse.com/#search=srcset)
 * Hope that helps!
 *  Thread Starter [Robin W](https://wordpress.org/support/users/robin-w/)
 * (@robin-w)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/plugin-using-srcset/#post-5538689)
 * Ok, I’ve read the articles (I’d already seen the ‘caniuse’ but had confused it
   with the ‘old’ srcset) – now I understand and thanks for posting those articles.
 * My issue is that on IE 11, Firefox 33.1, and Chrome 39.02 the logo’s don’t show(
   as they don’t support srcset?), so that page looks terrible – how do I fix that,
   so that your code works on any screen, as I can’t dictate what my customers will
   use.
 *  Plugin Author [Steven](https://wordpress.org/support/users/shazahm1hotmailcom/)
 * (@shazahm1hotmailcom)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/plugin-using-srcset/#post-5538705)
 * **@ Robin W**
 * I use those browsers and it does work, visit [my site](http://connections-pro.com)
   in any of those browsers. Chrome does support it natively … so if it is not at
   working in Chrome … something else is at issue. You’ll have to share a link to
   page having the issue for my too look at. Also are there any errors being reported
   in the browser console?
 *  Thread Starter [Robin W](https://wordpress.org/support/users/robin-w/)
 * (@robin-w)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/plugin-using-srcset/#post-5538712)
 * ok, thanks for your continued support
 * the page I am having issues with is
 * [http://www.travology.ltd.uk/customers/](http://www.travology.ltd.uk/customers/)
 * wordpress is 4.0.1
 * Sorry – have re-tested and it works in Chrome, but not IE or Firefox.
 * IF I SWITCH to twentyfourteen IT WORKS on ALL!
 * Can’t see anything obvious in the theme’s functions.php and the syle.css fort
   this theme was written by someone else
 * Can you point me to any further help??
 * Suspect you won’t need the rest of this, but in case it helps…
 * [http://www.travology.ltd.uk/customers/uses](http://www.travology.ltd.uk/customers/uses)
   the shortcode
 *     ```
       [connections category='12' template='travology-customers']
       ```
   
 * which calls a template in wp-content/connections_templates/travology-customers/
   template.php which consists of
 *     ```
       <p>
         <div class="custLogoWrap">
           <div class="custLogo">
             <?php $entry->getLogoImage(); ?>
       	 </div>
           <div class="cust-hide">
             <?php $entry->getNameBlock(); ?>
           </div>
         </div>
   
       </p>
       ```
   
 * and s style.css which consists of
 *     ```
       .custLogoWrap {
       	border:1px solid #eee;
       	background:url('http://localhost:8888/_wordpress/travology/wp-content/themes/Travology/img/backgrounds/diag5px.png') repeat #f1f1f1;
       	padding:5px;
       	float:left;
       	margin:0 10px 10px 0;
       	-webkit-border-radius: 5px;
       	-moz-border-radius:5px;
       	border-radius: 5px;
       }
   
       .custLogo .cn-image-style img { height:auto; }
       .cust-hide { display:none; visibility: hidden; }
       ```
   
 *  Plugin Author [Steven](https://wordpress.org/support/users/shazahm1hotmailcom/)
 * (@shazahm1hotmailcom)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/plugin-using-srcset/#post-5538720)
 * **@ Robin W**
 * Best guess … the theme is missing the [wp_footer()](http://codex.wordpress.org/Function_Reference/wp_footer)
   template tag.
 * Looking at the page source strongly hints that this is the issue. can you verify
   that?
 *  Thread Starter [Robin W](https://wordpress.org/support/users/robin-w/)
 * (@robin-w)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/plugin-using-srcset/#post-5538730)
 * Brilliant, fantastic, wonderful !!!
 * Yes that fixed it, thank you so much.
 * I couldn’t find a ‘donate’ on your site, so I bought ’tile-plus’ to thank you
   for all your help !!
 * Regards
 * Robin
 *  Plugin Author [Steven](https://wordpress.org/support/users/shazahm1hotmailcom/)
 * (@shazahm1hotmailcom)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/plugin-using-srcset/#post-5538731)
 * **@ Robin W**
 * Great to hear and thanks!
 * If you have a moment, I would truly appreciate a review too as they really do
   make a difference for me. Many thanks in advance!
 * [https://wordpress.org/support/view/plugin-reviews/connections](https://wordpress.org/support/view/plugin-reviews/connections)
 *  Thread Starter [Robin W](https://wordpress.org/support/users/robin-w/)
 * (@robin-w)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/plugin-using-srcset/#post-5538732)
 * done and thanks again

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

The topic ‘Plugin using srcset’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/connections_2b7e99.svg)
 * [Connections Business Directory](https://wordpress.org/plugins/connections/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/connections/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/connections/)
 * [Active Topics](https://wordpress.org/support/plugin/connections/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/connections/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/connections/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [Robin W](https://wordpress.org/support/users/robin-w/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/plugin-using-srcset/#post-5538732)
 * Status: resolved