minicomp / wax-facets

The second Wax theme. Good times.
https://minicomp.github.io/wax-facets/
Other
9 stars 8 forks source link

Is there a provision to refer images from CDN instead of images folder? #51

Open aliasgerkw opened 1 year ago

aliasgerkw commented 1 year ago

Hello Team,

We were facing some limit usage issues while hosting website with GitHub Pages due to huge number of images and its derivatives being used in the theme. As derivatives are generated during build and while replacing it with a CDN image it should allow us to take derivatives from CDN as well.

Please advise if there is any working example using CDN to render images and derivative.

elotroalex commented 2 months ago

Hi. In theory it might be possible by tweaking the source for Openseadragon directly in the osd_iiif_image_viewer.html include, and including the CDN links in the data table, then pulling in that variable using Liquid in that file.