I have created a media field in my content type. In the
manage form display, I have selected
entity browser as display instead of
When I open the node form as admin in an admin theme like adminimal or seven, and upload an image to the field, I can see it thumbnail after upload and other information. I can see that its markup comes from the
media.html.twig file of the
But when I do the same steps in a frontend theme, I can't see the thumbnails and other information after upload.
What can be the reason? I also copied the
media.html.twig file from
classy theme to my custom theme but it did not work.
I am also using the
dropzonejs module if that help someone.
Here are the screen shots. The first screenshot is from the admin theme, You can see that the admin, the date, the thumbnail and then use selected button.
The 2nd screenshot is from the frontend theme, there is no such markup after uploading an image.
Any one who can help?