miniflux / v2

Minimalist and opinionated feed reader
https://miniflux.app
Apache License 2.0
6.73k stars 711 forks source link

Some feeds have images that gets awkwardly compressed to fit the screen #2639

Closed Hund closed 4 months ago

Hund commented 4 months ago

Some feeds have images that gets awkwardly compressed to fit the screen. See the attached screenshot.

The feed is: https://gustavlindqvist.se/friluftsliv/feed.xml

Is there anything I can do to feeds like this?

Untitled

widowild1 commented 4 months ago

hi, i'm on ios, miniflux Version: 2.1.3 Git Commit 3388f8e3, I have the same thing as you, but I have a custom stylesheet, see if you have the same thing and delete the stylesheet to see if your problem is solved. IMG_2896

Hund commented 4 months ago

It's a good guess, but removing the custom CSS did nothing. :/

trekzavier commented 4 months ago

Just tried this with openrss and looks like it fixes the images automatically:

https://openrss.org/gustavlindqvist.se/friluftsliv/feed.xml

Hund commented 4 months ago

Thanks, but I do not wish to use a third party service for this. :)

fguillot commented 4 months ago

You can remove the original width and height attributes from the images with a rewrite rule. Something like this should work: replace("width="|"original-width="), replace("height="|"original-height=")