pull/294/head
Dave Jones 2021-09-01 14:18:52 -05:00
rodzic d2062e3056
commit 20f01b97eb
1 zmienionych plików z 33 dodań i 0 usunięć

Wyświetl plik

@ -395,6 +395,39 @@ Example of a gateway series:
</item>
```
----
### **\<podcast:images>** - <small>[Discuss](https://github.com/Podcastindex-org/podcast-namespace/issues/43)</small>
<br>
<b>
```xml
<podcast:images
srcset="[image urls with sizing attached(string array)]"
/>
```
</b>
Channel or Item
(optional | single)
This tag, when present, allows for specifying many different images sizes in a compact way. The syntax is borrowed from the HTML5 [srcset](https://html.spec.whatwg.org/multipage/images.html#srcset-attributes)
syntax. It allows for describing multiple image sources with width and pixel hints directly in the attribute.
Example of a single gateway:
```xml
<podcast:images
srcset="https://example.com/images/ep1/pci_avatar-massive.jpg 1500w,
https://example.com/images/ep1/pci_avatar-middle.jpg 600w,
https://example.com/images/ep1/pci_avatar-small.jpg 300w,
https://example.com/images/ep1/pci_avatar-tiny.jpg 150w"
/>
```
<br>
## Other Proposals