Is it possible use images from a server folder for Portlet to display Icons

Anish Kumar, modificado 2 Anos atrás. New Member Postagens: 18 Data de Entrada: 11/04/23 Postagens Recentes

Hi All,

I have developed a portlet to route URLs to different locations. Now have to change the icons for each location. The image URLs should be fetched from an API. I am looking for a solution to upload images to the folder where Liferay is running, put this path in the API and load that images in portlet for each location/item. 

Is there a solution to make images uploaded in the server as public to all, so that I can provide absolute path. Does this slow down loading page I have more than 500 locations. If slow down can load from local folder of the Liferay server machine.

I am using portlet with Java and JSP.

Please advise, I am new to Liferay.

Thank you