Apple News API and Image components

Hi there,


in Image derived components (Photo, Figure, GalleryItem), by using Apple News API, only bundle:// links work (so I have to send binary content of all images).

If I use a 'normal' external link to an image (like S3 Amazon links), I got the error Invalid Document because of URLs.


Currently my channel is not approved so every request I send is with isPreview=True. Is this a reason for that?

Or only 'bunde://' images are allowed?


Thanks in advance,


Domenico

I am seeing similar issues. Some remote images will load while others do not. Even with articles that have been successfully transferred via the API without error and have several image components with similar size/dimensions/file type, we see that some images may load while others may not. It's quite random.

Hello domenico_rebel,


Please note that it is no longer mandatory for images to be included in the Apple News Format article bundle. (i.e. bundle://name.jpg) You may reference resources remotely as well. (i.e. http(s)://remotehost/name.jpg)


The default value for isPreview is "True" if your channel has not yet been approved to publish articles in Apple News Format; the default value is "False" if your channel has been approved to publish articles in Apple News Format.

Hello bluebeard,


If you are currently experiencing an issue with images populating in articles, we recommend reaching out to the News Support team via Contact Us for further assistance. Please provide the channel name, channel ID, and the share URL / article ID for the affected article(s).

Apple News API and Image components
 
 
Q