Thread: [Solved] hitomi.la (webp)
View Single Post
  #14  
Old 05.02.2020, 22:41
damo damo is offline
Super Loader
 
Join Date: Jan 2020
Posts: 25
Default

Quote:
We try to download the highest quality by default but in this case, there was no way for me to know that a different version exists.
The galleryinfo actually contains the file name as well as a flag "haswebp" to indicate if webp is available.
Code:
var galleryinfo = [{"width":192,"hash":"701a16171535fd23e34aa96b2de64c169b16fc196ef5926150ec4a413099ca57","haswebp":1,"name":"embed0000.jpg","height":300,"hasavif":0}, /*...*/];
Quote:
Does this also work via website?
You can toggle between webp and original in the viewer with the "w" key.
And the offered "Download" functionality also uses the original extension and not webp. The "Download" button uses the "download_gallery" function from **External links are only visible to Support Staff****External links are only visible to Support Staff** which uses some functions from **External links are only visible to Support Staff****External links are only visible to Support Staff**.
Reply With Quote