You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The album.thumbnail property will be generated incorrectly with a .png extension instead of a .jpeg extensions. After building the above, we can look at the html and the thumbnail folder:
$ cat _build/index.html | grep thumb
<div class="menu-img thumbnail">
<img src="subgallery/thumbnails/Untitled.png" class="album_thumb"
$ ls -l _build/subgallery/thumbnails
total 4
-rw-rw-r-- 1 shuhao shuhao 482 Jul 23 17:17 Untitled.jpeg
This obviously results in issues with the generated gallery as the thumbnail for the album is broken. This occurs on all themes.
The text was updated successfully, but these errors were encountered:
This is a part of series of bugs that I've discovered while making a somewhat complex gallery with sigal.
This issue pertains to image file format conversion and thumbnail url generation. The example can be see in this repo.
In this case, we need to first workaround the problem outlined in #474 by adding the two lines into the
plugins
:After this workaround is applied, the conversion works. However, if you have a sub album like this:
where the index.md file looks like:
The
album.thumbnail
property will be generated incorrectly with a.png
extension instead of a.jpeg
extensions. After building the above, we can look at the html and the thumbnail folder:This obviously results in issues with the generated gallery as the thumbnail for the album is broken. This occurs on all themes.
The text was updated successfully, but these errors were encountered: