Message Boards

To Display multiple posts having images or videos on a JSP page in Liferay

Upender Kashyap, modified 3 Years ago.

To Display multiple posts having images or videos on a JSP page in Liferay

Junior Member Posts: 30 Join Date: 8/12/20 Recent Posts
Hello there,
I am trying to develop a portal in Liferay which will display multiple posts containing Images/Videos. I am storing images in MySql db as of now. I am able to display the image or videos for single records using Ajax "serveResource" method. But when I am fetching the whole lists of posts, its not able to render the images/videos for respective posts. Can someone guide me on how to achieve this functionality in liferay. I am working on Liferay DXP 7.2.
Thanks in advance!
thumbnail
Mohammed Yasin, modified 3 Years ago.

RE: To Display multiple posts having images or videos on a JSP page in Life

Liferay Master Posts: 591 Join Date: 8/8/14 Recent Posts
Hi ,
Can you pls share your code snippet ? It would be helpful to understand.