ImageMagick Error 1 with webp images

I've just installed Imagemagick 6.8.9-9 Q16 x86_64 2019-11-12 on my Drupal site.

Server is running PHP 7.3.18

Drupal 8.8.6

I have enabled webp for Imagemagick,  but when I attempt to upload a webp image in to a field with debug enabled, I get the following output:

Getting error during installation.

Getting this error after installation except home page.

Sorry, this page doesn't exist.
Please check the URL or go back a page.

404 Error. Page Not Found.

Displaying content in the twig template

Hi,

I am displaying audios like the following,

https://imgur.com/a/36rPDUM

Right now I have a code like the following for display audio.  The fault with this twig code is, everytime item.audio is true a new div is created. 

Charts Problems

Hello,

I want to use charts in my new site.
I have installed charts module and C3 Charts and Google Charts

I tried it and followed two tutorials and it does not show any chart.
I even used Charts Block and no chart is shown.

I installed easy chart and simple chart modules, non of them show any chart.

Not even the Charts API Example shows a single chart.

How to display headers for sorted field

I have a content type with a year field and I'm sorting on that year field in my view.

What I would like to accomplish is to display something like

2020

a

b

2019

c

Where a/b are content with year 2020 and c is content with year 2019

Is this possible?

How to get alt tag in media.html.twig?

In media.html.twig I can use the following variables: 

  • name: Name of the media
  • content: Media content.

Then if I select the format option "URL to image" in "/admin/structure/media/manage/vector_illustration/display/content" then I get the image url just with:

{{ content.field_media_image }}

But how I get the alt tag of this image? I tried 

{{ content.field_media_image.alt }}

or

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x