Let Google cache and resize your images.
Resized and Cached:
Original:
Let Google cache and resize your images.
Resized and Cached:
Original:
function getUrl(width, url) { | |
return 'https://images1-focus-opensocial.googleusercontent.com/gadgets/proxy' | |
+ '?container=focus' | |
+ '&resize_w=' + width | |
+ '&url=' + url | |
; | |
} | |
getUrl(250, 'http://andshelived.files.wordpress.com/2008/10/killer-mater.jpg'); |
i have to tried use https://images2-focus-opensocial.googleusercontent.com/gadgets/proxy?container=focus&refresh=604800&url=https://hlsvideos.online//cdn/0de3572bca53ff8c5a63b65d600a5cdc8e23c93033783db1a02578985fc31c7ba8b2bbbb0af725b1a637a8e3592c3bde/842x480/video104.png
But i can not read this file, how to use google cache images ?
please help me
i have to tried use https://images2-focus-opensocial.googleusercontent.com/gadgets/proxy?container=focus&refresh=604800&url=https://hlsvideos.online//cdn/0de3572bca53ff8c5a63b65d600a5cdc8e23c93033783db1a02578985fc31c7ba8b2bbbb0af725b1a637a8e3592c3bde/842x480/video104.png But i can not read this file, how to use google cache images ? please help me
did u find the cache image?
Hi @coolaj86,
I tried to mention you in my README.md, but it is not working. So I hope you will read this :)
I used your function in my responive images code repository https://github.com/janwagner/respio
Thank you :) 👍