Get title and alt from images

Created on 18 May 2024, about 1 month ago
Updated 19 May 2024, about 1 month ago

Problem/Motivation

Currently, all the information of the images is being queried from the file_managed table. This table does not include the values for title and alt.

Steps to reproduce

If we run a migration, all images will have the filename from the file_managed table as their alt and title.

Proposed resolution

Query these values in their correct tables. The alt will be queried from the field_data_field_file_image_alt_text table, and the title from the field_data_field_file_image_title_text table.

✨ Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ͺπŸ‡ΈSpain fbocanegra

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024