<?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>FCKEditor File Browser for Image URL</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=4114461" />
  <subtitle>FCKEditor File Browser for Image URL</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=4114461</id>
  <updated>2026-04-06T17:04:50Z</updated>
  <dc:date>2026-04-06T17:04:50Z</dc:date>
  <entry>
    <title>FCKEditor File Browser for Image URL</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4114460" />
    <author>
      <name>Corey Allen Johnson</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4114460</id>
    <updated>2009-10-08T21:51:28Z</updated>
    <published>2009-10-08T21:51:28Z</published>
    <summary type="html">Forgive me if this is a simple question.  But i have searched the forums for a solution.. and though i have found some info.. nothing seems to work.&lt;br /&gt;&lt;br /&gt;I have a custom portlet with a pretty simple web form.  All works well.. i have configured Hibernate and i am persisting the form data into a database.&lt;br /&gt;&lt;br /&gt;Last thing i would like to do.. is use a pop-up window via a href link that displays the files uploaded in the Image Gallery.  &lt;br /&gt;&lt;br /&gt;One of the fields in my form is an Image URL.. and i would like to populate it by browsing the Image Gallery and selecting an image.&lt;br /&gt;&lt;br /&gt;I am already using the liferay-ui:input-editor in another textarea description field in the same form.  So do not think i can use the editor in 2 other fields.&lt;br /&gt;&lt;br /&gt;Any assistance or nudge would be great.  I found a post that mentioned doing the following:&lt;br /&gt;&amp;lt;A HREF=&amp;#34;javascript:window.open(&amp;#39;/html/js/editor/fckeditor/editor/filemanager/browser/liferay/browser.html?Type=Image&amp;amp;Connector=%2Fc%2Fportal%2Ffckeditor%3Fp_l_id%3D368%26doAsUserId%3D6DYteNfb914%253D&amp;#39;,&amp;#39;&amp;#39;,&amp;#39;width=640,height=480&amp;#39;);&amp;#34; &amp;gt; click&amp;lt;/A&amp;gt;&lt;br /&gt;&lt;br /&gt;But this pop-up throws an error.&lt;br /&gt;&lt;br /&gt;The same post also said that this Javascript function would be called on the window.opener page:&lt;br /&gt;function SetUrl(imgUrl){&lt;br /&gt;                alert(imgUrl);&lt;br /&gt;            }&lt;br /&gt;&lt;br /&gt;So i would use that function to set the value on my Image URL form field.&lt;br /&gt;&lt;br /&gt;But alas this does not work.&lt;br /&gt;&lt;br /&gt;Any guidance would be very much appreciated.</summary>
    <dc:creator>Corey Allen Johnson</dc:creator>
    <dc:date>2009-10-08T21:51:28Z</dc:date>
  </entry>
</feed>
