Nobody? Any hint to point me to the right direction.
Thanks
Hey sidharth_soman! Thank you very much, this is exactly, what i needed.
Hey gausarts. Thank you very much for the patch. I applied it and it works. Title and alternative text are there again. Do you still need anything from me?
Did you hire a dev to customize the Blazy Media formatter? If so, you might need an update against 2.18.
No
Browser name and version?
Firefox latest 118.0 and Chrome latest 117.0.5938.132
Admin theme?
Claro
Screenshot: /admin/structure/media/manage/image/fields
Screesnshot is attached. I am using Standard profile.
Uncheck "File" and Save, if you only need to translate image attributes and don't upload different image "File" for each media item.
Re-sync with /admin/config/regional/content-language if any difference. It may take a while if you have lots of translation.
Done
Press F12,
click the "Inspect element" arrow button on the top left, and
select "Media switcher" option with classes ".grid.form-item--media-switch".
Position it on the topmost.
Collapse each ".grid" nodes if they are expanded so we can see "Media switcher" node down to "Main stage" (".grid.form-item--image").
Screenshot is attached
In that case, please temporarily use DEV so we know 2.18 has this issue, and re-verify.
I installed dev and the problem still persists.
Is this all, or cropped?
This is all
If all, then we have another Bug to talk about. In that case, please temporarily use DEV so we know 2.18 has this issue, and re-verify.
I will try that later, will be away from the computer for a couple of hours, and get back to you. Thanks a lot for your help!
Please confirm:
Does this issue stand with basic English site only?
Default language is german, the other one is english. and the title attribute is missing on both languages
BTW, is it node display (/node/123), or Views-embedded blazy blocks, or both, having the issue?
everywhere nodes and views
here is a screenshot of /admin/config/regional/content-language
on the nodetype field it s not possible to enable the title, as it is a reference to a media image.
The screenshot ist from here: /admin/structure/media/manage/image/fields/media.image.field_media_image
Thanks
To prove that is the case, try inputting the title without file name, e.g.:
photo.jpg into photo.
No. Almost every title are without filename, e. g. unsplash.
You may want to \Drupal\Component\Utility\Html::escape($title); accordingly.
Would that do for you?
Thanks but not really, as i am not a coder.
And why is the alt attribute empty?
I updated another site to 2.18 and same problem there. I tried roll back to blazy 2.4 and it is not possible.
Here is a screenshot. Thanks a lot