<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Is it possible use images from a server folder for Portlet to display Icons</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=122387079" />
  <subtitle>Is it possible use images from a server folder for Portlet to display Icons</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=122387079</id>
  <updated>2026-04-06T15:04:03Z</updated>
  <dc:date>2026-04-06T15:04:03Z</dc:date>
  <entry>
    <title>Is it possible use images from a server folder for Portlet to display Icons</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122387078" />
    <author>
      <name>Anish Kumar</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122387078</id>
    <updated>2024-02-07T13:18:05Z</updated>
    <published>2024-02-07T13:18:04Z</published>
    <summary type="html">&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;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. &lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;I am using portlet with Java and JSP.&lt;/p&gt;
&lt;p&gt;Please advise, I am new to Liferay.&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;</summary>
    <dc:creator>Anish Kumar</dc:creator>
    <dc:date>2024-02-07T13:18:04Z</dc:date>
  </entry>
</feed>
