by
438 6
0
3
189k
0
Top 1% !
Pearl of Wisdom
Specified
Popularity: 8920th place
No tags for this snippet yet.
LanguageJavaScript
SourceGitHub
SourceMyGists

Library for page blogger JS

Library for page blogger JS: 
blogger.theme.function.01.js
Copy Embed Code
<iframe id="embedFrame" style="width:600px; height:300px;"
src="https://www.snip2code.com/Embed/1115854/Library-for-page-blogger-JS?startLine=0"></iframe>
Click on the embed code to copy it into your clipboard Width Height
Leave empty to retrieve all the content Start End
/** * Library for page blogger JS */ function bp_thumbnail_resize(image_url, post_title) { var image_width = 317; var image_height = 210; image_tag = '<img width="' + image_width + '" height="' + image_height + '" src="' + image_url.replace('/s72-c/', '/w' + image_width + '-h' + image_height + '-c/') + '" alt="' + post_title.replace(/"/g, "") + '" title="' + post_title.replace(/"/g, "") + '"/>'; if (post_title != "") return image_tag; else return"" }
If you want to be updated about similar snippets, Sign in and follow our Channels

blog comments powered by Disqus