freedomofpress / pressfreedomtracker.us

Code for the U.S. Press Freedom Tracker project website
https://pressfreedomtracker.us
GNU Affero General Public License v3.0
17 stars 7 forks source link

Migrate ad-hoc image captions to `AlignedCaptionedImageBlock` #1003

Open chigby opened 3 years ago

chigby commented 3 years ago

Split off from #808

Before the creation of AlignedCaptionedImageBlock, some images were placed into the body field of incident pages with captions and/or image credit added in adjacent blocks as rich text blocks. For consistency, we'd like the caption data to belong in the block with the image directly and these "ad hoc" image captions removed.

wagtail-inventory identified 40 pages that used ImageChooserBlock, meaning there are potentially 40ish images with captions encoded as separate blocks from the image they describe. This ticket should be considered done when those pages have been manually evaluated and the caption data copied from the ad-hoc blocks into the captioned image blocks.

eloquence commented 3 years ago

@harrislapiroff will follow up w/ Kirstin on whether this is worth doing for historical content.