Image component enhancement | Community
Skip to main content
Level 3
January 25, 2023
Solved

Image component enhancement

  • January 25, 2023
  • 2 replies
  • 1411 views

Hi Team,

 

Is there any possibility to upload a video in an Image component? Like DM component would allow drag & drop videos or images.

 

Thanks in advance!

Best answer by nitesh_kumar-1

Hi @lakshmi9 ,

 

The image component doesn't support that.

 

But there is a feature request to add in the core components, you can follow this thread for an update.

https://github.com/adobe/aem-core-wcm-components/issues/218 

https://github.com/adobe/aem-core-wcm-components/issues/148 

 

You may have to develop a custom component for this.

 

Hope this helps!

 

Regards,

Nitesh

2 replies

nitesh_kumar-1
Adobe Employee
nitesh_kumar-1Adobe EmployeeAccepted solution
Adobe Employee
January 26, 2023

Hi @lakshmi9 ,

 

The image component doesn't support that.

 

But there is a feature request to add in the core components, you can follow this thread for an update.

https://github.com/adobe/aem-core-wcm-components/issues/218 

https://github.com/adobe/aem-core-wcm-components/issues/148 

 

You may have to develop a custom component for this.

 

Hope this helps!

 

Regards,

Nitesh

Lakshmi9Author
Level 3
January 30, 2023

Hi @nitesh_kumar-1 

Thank you for info. 

 

Could you please suggest is there any best approach to implement/extend video feature on teaser component with DM features?

 

Core video component is not working & ffmpeg needs to be installed to get it worked seems & not sure if we can use dynamic video component in teaser.

 

Kindly suggest, thank you!

Lokesh_Shivalingaiah
Level 10
February 3, 2023

Hi @lakshmi9 ,

You cannot upload video file types in an image component. However, you can customize the same component to render video files based on the filetypes (your HTML tag would different for image and video files).

or extend the image component and create a new video component.