Created
February 22, 2018 19:43
-
-
Save cagatayldzz/4525eb0349c8ede6090cd3e63f3acea0 to your computer and use it in GitHub Desktop.
Url İle Resim Optimizasyonu #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function getUrl(width, url) { | |
return 'https://images1-focus-opensocial.googleusercontent.com/gadgets/proxy' | |
+ '?container=focus' | |
+ '&resize_w=' + width | |
+ '&url=' + url | |
; | |
} | |
getUrl(250, 'http://www.ornek.com/resim.png'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment