asadm/markdowndown

Downloaded responsive images should have filenames santitized

Opened this issue · 0 comments

This little tool has been so useful for me, but I've run into this problem a couple times now where, with the "Download images locally and link them" toggle checked, the images are downloaded with the responsive image query params, like so:

image

The image data is fine, and renaming the files and adjusting the links fixes the issue. However, I've run into multiple apps that won't try to render it as an image because it doesn't recognize the file format. This feels like something to do in the project code and not via GPT transform.

You can reproduce this specific example with these articles (you can tell what I was researching 😉):