gonzalezreal / swift-markdown-ui

Display and customize Markdown text in SwiftUI
MIT License
2.44k stars 298 forks source link

Large Images Display Upside Down #318

Open RizwanaDesai opened 4 months ago

RizwanaDesai commented 4 months ago

When I add image link with larger dimensions (e.g., 4032x3024) , markdown ui display it upside down. However, when I reduce the dimensions (e.g., 3032x2274), the images display correctly.

Screenshot 2024-05-24 at 2 48 40 PM Screenshot 2024-05-24 at 2 54 34 PM

Could you please share if MarkdownUI has some max limit for image dimension. Also, If the image is large then it goes out of the view, is there anything that we can fit the image according to the available size/screen size.