Resize channel thumbnails

pull/633/head
Omar Roth 6 years ago
parent e30d70b6d4
commit 556d5b0ca5
No known key found for this signature in database
GPG Key ID: B8254FB7EC3D37F2

@ -14,7 +14,7 @@
<div class="pure-g h-box"> <div class="pure-g h-box">
<div class="pure-u-2-3"> <div class="pure-u-2-3">
<div class="channel-profile"> <div class="channel-profile">
<img src="/ggpht<%= URI.parse(channel.author_thumbnail.gsub("s48", "s64")).full_path %>"> <img src="/ggpht<%= URI.parse(channel.author_thumbnail).full_path %>">
<span><%= channel.author %></span> <span><%= channel.author %></span>
</div> </div>
</div> </div>

@ -13,7 +13,7 @@
<div class="pure-g h-box"> <div class="pure-g h-box">
<div class="pure-u-2-3"> <div class="pure-u-2-3">
<div class="channel-profile"> <div class="channel-profile">
<img src="/ggpht<%= URI.parse(channel.author_thumbnail.gsub("s48", "s64")).full_path %>"> <img src="/ggpht<%= URI.parse(channel.author_thumbnail).full_path %>">
<span><%= channel.author %></span> <span><%= channel.author %></span>
</div> </div>
</div> </div>

@ -167,7 +167,7 @@ var video_data = {
<div class="h-box"> <div class="h-box">
<a href="/channel/<%= video.ucid %>"> <a href="/channel/<%= video.ucid %>">
<div class="channel-profile"> <div class="channel-profile">
<img src="/ggpht<%= URI.parse(video.author_thumbnail.gsub("s48", "s64")).full_path %>"> <img src="/ggpht<%= URI.parse(video.author_thumbnail).full_path %>">
<span><%= video.author %></span> <span><%= video.author %></span>
</div> </div>
</a> </a>

Loading…
Cancel
Save