# HG changeset patch # User nanaya # Date 1598038691 -32400 # Node ID 40c828f836570fe3bb10a5be98861024b3177e56 # Parent 168318b7d11e4047d8871429d252bb9019aa4c2c Using query string seems to be a bit more stable now? diff -r 168318b7d11e -r 40c828f83657 app/views/tweets/_tweet.html.erb --- a/app/views/tweets/_tweet.html.erb Thu Aug 06 23:08:59 2020 +0900 +++ b/app/views/tweets/_tweet.html.erb Sat Aug 22 04:38:11 2020 +0900 @@ -35,8 +35,8 @@

<% tweet.media.each_with_index do |media, i| %> <% if media.is_a? Twitter::Media::Photo %> - <%= link_to "#{media.media_url_https}:orig" do %> - <%= image_tag "#{media.media_url_https}:small", :alt => "attachment #{i + 1}" -%> + <%= link_to "#{media.media_url_https}?name=orig" do %> + <%= image_tag "#{media.media_url_https}?name=small", :alt => "attachment #{i + 1}" -%> <% end %> <% elsif media.is_a? Twitter::Media::Video %> <%= video_tag media.video_info.variants