I am using channel image 5.4.2 and as per docs I trying simple template like":
<html>
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
{exp:channel:entries
channel='articles'
dynamic='no'
entry_id='85'
limit='1'}
{title}
{exp:channel_images:images channel="articles" entry_id="85"}
<img src="{image:url}" alt="{image:id}">
{/exp:channel_images:images}
{/exp:channel:entries}
</body>
Where I have custom field, called "article images". The problem is that when I add this and try to open the template I'm getting "ERR_CONTENT_DECODING_FAILED" and page breaks.
Actually my end point is to add this in json output and to be able to consume added images json property from the whole json object, which is used for website data.
Does anybody had this issue?
EDIT: Actually what I do need on the front-end is
"article_images" :
[
"/imgs/237455.jpg",
"/imgs/4H631C00.jpg",
"/imgs/243224.jpg"
]
this to be added as JSON property
{exp:channel_images:images}
tag in an embed.