ascorbic / unpic

Universal image CDN translator
https://unpic.pics/lib
291 stars 34 forks source link

feat: add Directus support #46

Closed danestves closed 1 year ago

danestves commented 1 year ago

Internally at Kazel we use a custom transformer to display the images of our backend to our frontend, I moved all the code to here since there is an issue open about it, added tests and an example image which you can test.

Closes https://github.com/ascorbic/unpic/issues/36

ascorbic commented 1 year ago

@danestves the sample URL that you provided here is no longer resolving, menaing the Directus tests no longer pass. Would you have a stable sample image URL it could be switched for?