<?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>Directory indexing for Document and media and Using imageUrl in Web content</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121177307" />
  <subtitle>Directory indexing for Document and media and Using imageUrl in Web content</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121177307</id>
  <updated>2026-04-04T14:13:07Z</updated>
  <dc:date>2026-04-04T14:13:07Z</dc:date>
  <entry>
    <title>RE: Directory indexing for Document and media and Using imageUrl in Web con</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121177625" />
    <author>
      <name>Abdul Kareem</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121177625</id>
    <updated>2021-10-04T17:33:41Z</updated>
    <published>2021-10-01T14:12:44Z</published>
    <summary type="html">&lt;p&gt;I found the solotion:&lt;/p&gt;
&lt;p&gt;We need to disable &amp;quot;Validate File Entries&amp;quot;  from system settings&lt;/p&gt;
&lt;p&gt;Go to Control Panel &amp;gt; System Settings &amp;gt; Export/Import , and
  uncheck the box that says &amp;quot;Validate File Entries&amp;quot;.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>Abdul Kareem</dc:creator>
    <dc:date>2021-10-01T14:12:44Z</dc:date>
  </entry>
  <entry>
    <title>Directory indexing for Document and media and Using imageUrl in Web content</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121177306" />
    <author>
      <name>Abdul Kareem</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121177306</id>
    <updated>2021-10-04T17:33:35Z</updated>
    <published>2021-10-01T12:26:30Z</published>
    <summary type="html">&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;I have enabled directory indexing like below.&lt;br /&gt; web.server.servlet.directory.indexing.enabled=true&lt;/p&gt;
&lt;p&gt;After that the imageUrl would be like &amp;quot;http://localhost:8080/documents/site-demo/Academy/getty_172411517_500.jpg&amp;quot;&lt;/p&gt;
&lt;p&gt;when I use this imageUrl in web content I am getting below feedback. 
  Is there any way to diable this.&lt;/p&gt;
&lt;p&gt;
  &lt;img alt="" src="/documents/14/0/error+%282%29.png/c9b59771-3a6e-5459-eb42-bc1c3ae6ce13?t=1633091128730&amp;amp;imagePreview=1" /&gt;
  &lt;br /&gt;  &lt;/p&gt;</summary>
    <dc:creator>Abdul Kareem</dc:creator>
    <dc:date>2021-10-01T12:26:30Z</dc:date>
  </entry>
</feed>
