Thread: [Solved] hitomi.la (webp)
View Single Post
  #12  
Old 03.02.2020, 20:31
Etshy Etshy is offline
Vacuum Cleaner
 
Join Date: Oct 2019
Posts: 19
Default

Oh yeah, I thought you handle that already.
the haswebp bool seems to change the part of the url "/webp" into "/images.
in their common.js it's defined here

function url_from_hash(galleryid, image, dir, ext) {
ext = ext || dir || image.name.split('.').pop();
dir = dir || 'images';

seems they either pass 'webp' or nothing (to have 'images' by default)
I can't guarantee that, but I didn't see any other case for now
Reply With Quote