Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Steven

    (@shazahm1hotmailcom)

    @ 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/

    And here for browser support:
    http://caniuse.com/#search=srcset

    Hope that helps!

    Thread Starter Robin W

    (@robin-w)

    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

    (@shazahm1hotmailcom)

    @ Robin W

    I use those browsers and it does work, visit my site 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

    (@robin-w)

    ok, thanks for your continued support

    the page I am having issues with is

    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 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

    (@shazahm1hotmailcom)

    @ Robin W

    Best guess … the theme is missing the wp_footer() template tag.

    Looking at the page source strongly hints that this is the issue. can you verify that?

    Thread Starter Robin W

    (@robin-w)

    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

    (@shazahm1hotmailcom)

    @ 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://ww.wp.xz.cn/support/view/plugin-reviews/connections

    Thread Starter Robin W

    (@robin-w)

    done and thanks again

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

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