diff --git a/openlibrary/templates/books/custom_carousel.html b/openlibrary/templates/books/custom_carousel.html index d81dd7ffeb7..4ade203743f 100644 --- a/openlibrary/templates/books/custom_carousel.html +++ b/openlibrary/templates/books/custom_carousel.html @@ -31,9 +31,8 @@ $ modifier = '' $ work_key = book.key if book.key.startswith('/work') else book.get('work_key') $if lazy: - $ data_url = data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII= - $ src_attr = 'src' $ img_attr = 'data-lazy' + $ data_url = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=' $else: $ img_attr = 'src' @@ -44,7 +43,7 @@ $else: