-

@ Steven Bell :pci: :pc2red:
2025-02-24 20:40:07
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpqln5q8np5aezhtt7ztv6tah86xk4t3smjuchdvxp0u6uta056204qf4h82d nostr:nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpqjtm4dxvu3ccgk60wvvt0uw9j9vz7nuc80f7agrv0vgkkushxk5zqnzj90y
Both of these images are 400W.
As an app dev, how can I use this info from the feed to create this layout if I don't know the height or ratio of each image?
It's not about maintaining the ratio, it's about know what the ratio is so it can be used for design.
If this is in the feed, I have know idea if it's a banner image or a square image.
<podcast:images srcset="https://example.com/image1.jpg 400w />
<podcast:images srcset="https://example.com/image2.jpg 400w />
https://cdn.masto.host/podcastindexsocial/media_attachments/files/114/060/746/213/201/751/original/a70f01f64ee3c44b.png
https://cdn.masto.host/podcastindexsocial/media_attachments/files/114/060/756/965/623/926/original/c0c61754c2527ee7.png
https://cdn.masto.host/podcastindexsocial/media_attachments/files/114/060/768/561/607/625/original/216d37547dbee392.png