Resize channel thumbnails

This commit is contained in:
Omar Roth 2019-06-30 12:31:16 -05:00
parent e30d70b6d4
commit 556d5b0ca5
No known key found for this signature in database
GPG Key ID: B8254FB7EC3D37F2
3 changed files with 3 additions and 3 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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>