- π«π·France DrDam
The project is dead, Please check media_contextual_crop β
- Status changed to Active
over 1 year ago 10:24am 9 May 2023 - π«π·France DrDam
Hi,
I have just push release on all module to provide a way to extract the "contextual croped url" of an image.
The "easier way" to achieve this are to replace "image" formatter by the newest "Contextual URL to Image". This one will directly print the correct URL.
- Status changed to Postponed: needs info
over 1 year ago 7:21am 11 May 2023 - Status changed to Closed: outdated
over 1 year ago 10:10am 17 August 2023 - πΊπΈUnited States devkinetic
I actually just tested this last night and was able to get the contextual url in twig using
{{ content.field_background_image|render|spaceless|striptags }}
which allowed me to remove all the custom code I had in comment #2. - Status changed to Fixed
over 1 year ago 4:41pm 17 August 2023