Closed git-scott closed 7 months ago
Hi, sorry for the novice question but I’m struggling to work out how to access alt-text for embedded images in posts. How is this done, assuming there may be multiple images’ text to parse per post.
Thanks
Hi, in data_filter.py line no 22 you can add this one:
data_filter.py
if post_with_images: for image in record.embed.images: print('Alt:', image.alt)
Thanks very much!
Hi, sorry for the novice question but I’m struggling to work out how to access alt-text for embedded images in posts. How is this done, assuming there may be multiple images’ text to parse per post.
Thanks