Skip to content

Commit

Permalink
#657: increase thumbnail resolution 206x156 -> 660x500 for better cla…
Browse files Browse the repository at this point in the history
…rity
  • Loading branch information
Fasand committed Aug 29, 2024
1 parent f875275 commit 442724b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Seeder/www/templates/includes/resource_list_visual.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<a href="{{ source.wayback_url }} ">
<div class="img-wrapper thumb">
{% if source.screenshot_file_exists %}
{% thumbnail source.screenshot "206x156" crop="center" as im %}
{% thumbnail source.screenshot "660x500" crop="center" as im %}
<img src="{{ im.url }}" class="aspect-ratio" width="{{ im.width }}" height="{{ im.height }}">
{% endthumbnail %}
{% elif source.legacy_screenshot %}
Expand Down
2 changes: 1 addition & 1 deletion Seeder/www/templates/includes/source_full.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ <h2>{{source}}</h2></div>
<div class="item-visual">
<div class="img-wrapper thumb">
{% if source.screenshot_file_exists %}
{% thumbnail source.screenshot "206x156" crop="center" as im %}
{% thumbnail source.screenshot "660x500" crop="center" as im %}
<img src="{{ im.url }}" class="aspect-ratio" width="{{ im.width }}" height="{{ im.height }}">
{% endthumbnail %}
{% else %}
Expand Down
2 changes: 1 addition & 1 deletion Seeder/www/templates/topic_collections/detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ <h1>{{ collection.title }}</h1>
{% if collection.image_file_exists %}
<div class="item-visual">
<div class="img-wrapper thumb">
{% thumbnail collection.image "206x156" crop="center" as im %}
{% thumbnail collection.image "660x500" crop="center" as im %}
<img src="{{ im.url }}" class="aspect-ratio" width="{{ im.width }}" height="{{ im.height }}">
{% endthumbnail %}
</div>
Expand Down
2 changes: 1 addition & 1 deletion Seeder/www/templates/topic_collections/items_visual.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<a href="{{ collection.get_www_url }} ">
<div class="img-wrapper thumb">
{% if collection.image_file_exists %}
{% thumbnail collection.image "206x156" crop="center" as im %}
{% thumbnail collection.image "660x500" crop="center" as im %}
<img src="{{ im.url }}" class="aspect-ratio" width="{{ im.width }}" height="{{ im.height }}">
{% endthumbnail %}
{% else %}
Expand Down

0 comments on commit 442724b

Please sign in to comment.