Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Let Google cache and resize your images
function getUrl(width, url) {
return ''
+ '?container=focus'
+ '&resize_w=' + width
+ '&url=' + url
getUrl(250, '');
Copy link

SonOfCrypto commented Sep 26, 2016

Hi @coolaj86,

I tried to mention you in my, but it is not working. So I hope you will read this :)
I used your function in my responive images code repository

Thank you :) 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment