Image in article body
Closed this issue · 2 comments
pr0xity commented
We need a way to show a image using the id of the image
Images from the article body looks like this
<embed embedtype=\"image\" format=\"fullwidth\" id=\"7\" alt=\"TG-promo-6\"/>
pr0xity commented
Also need to have a look at the main image output in the json from https://dev.tg.no/api/v2/news/12/
Currently gives
"main_image": {
"url": "/media/images/20220113211909-302b6da0-me.2e16d0ba.fill-100x100.jpg",
"full_url": "https://dev.tg.no/media/images/20220113211909-302b6da0-me.2e16d0ba.fill-100x100.jpg",
"width": 100,
"height": 100,
"alt": "Gamer over shoulder picture"
}
But we want a bigger image not 100x100...
[Editors note: https://github.com//issues/21]
mfyll commented
Issue closed, this is already working 👍 💯 🥇
EDIT: And #25 also solves this in an even better way, good job @niccofyren