diff --git a/lib/philomena_web/views/image_view.ex b/lib/philomena_web/views/image_view.ex index 335b7e72..01eac6db 100644 --- a/lib/philomena_web/views/image_view.ex +++ b/lib/philomena_web/views/image_view.ex @@ -71,6 +71,7 @@ defmodule PhilomenaWeb.ImageView do root = image_url_root() format = image.image_format + |> to_string() |> String.downcase() |> thumb_format(name) @@ -92,6 +93,7 @@ defmodule PhilomenaWeb.ImageView do filename = if short, do: image.id, else: image.file_name_cache format = image.image_format + |> to_string() |> String.downcase() |> thumb_format(nil)