diff --git a/openlibrary/macros/CoverImage.html b/openlibrary/macros/CoverImage.html
index 7608f0ae16a..48881031b7c 100644
--- a/openlibrary/macros/CoverImage.html
+++ b/openlibrary/macros/CoverImage.html
@@ -34,4 +34,4 @@
$if cover_url:
$else:
-
+
diff --git a/openlibrary/macros/FulltextSearchSuggestionItem.html b/openlibrary/macros/FulltextSearchSuggestionItem.html
index 4bf42ac22e5..6502fe4a09f 100644
--- a/openlibrary/macros/FulltextSearchSuggestionItem.html
+++ b/openlibrary/macros/FulltextSearchSuggestionItem.html
@@ -44,7 +44,7 @@
+
![]() |
+ ![]() |
diff --git a/openlibrary/templates/books/edition-sort.html b/openlibrary/templates/books/edition-sort.html index 728479e196f..398461d18cf 100644 --- a/openlibrary/templates/books/edition-sort.html +++ b/openlibrary/templates/books/edition-sort.html @@ -25,7 +25,7 @@ $ isbn = isbn_10 or isbn_13 $ asin = isbn_10 or None -$ url = book.get_cover_url("S") or "/images/icons/avatar_book-sm.png" +$ url = book.get_cover_url("S") or "/static/images/icons/avatar_book-sm.png" |
$edition_sort_key
diff --git a/openlibrary/templates/covers/author_photo.html b/openlibrary/templates/covers/author_photo.html
index 323032a7cd3..8f17e30e72c 100644
--- a/openlibrary/templates/covers/author_photo.html
+++ b/openlibrary/templates/covers/author_photo.html
@@ -27,6 +27,6 @@ $truncate(author.name or "", 60)$else: diff --git a/openlibrary/templates/covers/book_cover.html b/openlibrary/templates/covers/book_cover.html index efbe3f1e68c..3491bb0d3bb 100644 --- a/openlibrary/templates/covers/book_cover.html +++ b/openlibrary/templates/covers/book_cover.html @@ -12,8 +12,8 @@ $ cover_aspect_ratio = book.get_cover_aspect_ratio() $ cover_aspect_ratio_str = 'aspect-ratio: ' + str(cover_aspect_ratio) if cover_aspect_ratio else "" -$ src = cover_url or '/images/icons/avatar_book.png' -$ srcset = '%s 2x' % (cover_lg or '/images/icons/avatar_book-lg.png') +$ src = cover_url or '/static/images/icons/avatar_book.png' +$ srcset = '%s 2x' % (cover_lg or '/static/images/icons/avatar_book-lg.png') $if preload: $add_metatag(tag="link", **{'rel': 'preload', 'as': 'image', 'href': src, 'imagesrcset': srcset, 'fetchpriority': 'high'}) diff --git a/openlibrary/templates/covers/book_cover_small.html b/openlibrary/templates/covers/book_cover_small.html index 1ed869747bb..0e793ed5fa4 100644 --- a/openlibrary/templates/covers/book_cover_small.html +++ b/openlibrary/templates/covers/book_cover_small.html @@ -14,8 +14,8 @@$_('Active Lists')
$ cover = list.get_cover() or list.get_default_cover()
- $ cover_url = cover and cover.url("S") or "/images/icons/avatar_book-sm.png"
+ $ cover_url = cover and cover.url("S") or "/static/images/icons/avatar_book-sm.png"
$list.name
diff --git a/openlibrary/templates/lists/list_follow.html b/openlibrary/templates/lists/list_follow.html
index 719e8af5e2d..32623f39981 100644
--- a/openlibrary/templates/lists/list_follow.html
+++ b/openlibrary/templates/lists/list_follow.html
@@ -20,7 +20,7 @@
$if img_url:
$ img_url = img_url.replace("-S.jpg", "-M.jpg")
$else:
- $ img_url = '/images/icons/avatar_book-sm.png'
+ $ img_url = '/static/images/icons/avatar_book-sm.png'
diff --git a/openlibrary/templates/lists/snippet.html b/openlibrary/templates/lists/snippet.html
index 6e247ec8652..440ce64780a 100644
--- a/openlibrary/templates/lists/snippet.html
+++ b/openlibrary/templates/lists/snippet.html
@@ -1,7 +1,7 @@
$def with (list)
$ cover = list.get_cover() or list.get_default_cover()
- $ cover_url = cover and cover.url("S") or "/images/icons/avatar_book-sm.png"
+ $ cover_url = cover and cover.url("S") or "/static/images/icons/avatar_book-sm.png"
$ title = _("Cover of: %(title)s", title=list.name)
-
+
-
diff --git a/openlibrary/templates/type/author/edit.html b/openlibrary/templates/type/author/edit.html
index 2b63ae74b5a..2f95db0290d 100644
--- a/openlibrary/templates/type/author/edit.html
+++ b/openlibrary/templates/type/author/edit.html
@@ -102,7 +102,7 @@ |