<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Accessing the Image Content in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/accessing-the-image-content/m-p/235601#M188731</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You have to configure your Web Script for a Guest Access:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Web_Scripts#Authenticating" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Web_Scripts#Authenticating&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In this way you can access to this webscript without authentication, but all the contents must be stored in the Guest Home space in Alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So you need to add the following element in your descriptor image.get.desc.xml:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;webscript&amp;gt;&lt;BR /&gt;&amp;lt;shortname&amp;gt;Image&amp;lt;/shortname&amp;gt;&lt;BR /&gt;&amp;lt;description&amp;gt;Image description&amp;lt;/description&amp;gt;&lt;BR /&gt;&amp;lt;url&amp;gt;/image&amp;lt;/url&amp;gt;&lt;BR /&gt;&amp;lt;authentication&amp;gt;guest&amp;lt;/authentication&amp;gt;&lt;BR /&gt;&amp;lt;/webscript&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;And then you have to invoke this webscript using a guest parameter in this way:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;a href="&lt;A href="http://localhost:8080/alfresco/service/image?guest=true" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/service/image?guest=true&lt;/A&gt;" &amp;gt; click to view the image&amp;lt;/a&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Nov 2009 18:28:08 GMT</pubDate>
    <dc:creator>openpj</dc:creator>
    <dc:date>2009-11-17T18:28:08Z</dc:date>
    <item>
      <title>Accessing the Image Content</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/accessing-the-image-content/m-p/235600#M188730</link>
      <description>I am new to handle the Web Scripts. I tried with the simple web script to access the image content. Here is my sample code of that.image.get.desc.xml&amp;lt;webscript&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;shortname&amp;gt;Image&amp;lt;/shortname&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;description&amp;gt;Image description&amp;lt;/description&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;url&amp;gt;/image&amp;lt;/url&amp;amp;</description>
      <pubDate>Tue, 17 Nov 2009 07:00:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/accessing-the-image-content/m-p/235600#M188730</guid>
      <dc:creator>sowmiya</dc:creator>
      <dc:date>2009-11-17T07:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing the Image Content</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/accessing-the-image-content/m-p/235601#M188731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You have to configure your Web Script for a Guest Access:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Web_Scripts#Authenticating" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Web_Scripts#Authenticating&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In this way you can access to this webscript without authentication, but all the contents must be stored in the Guest Home space in Alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So you need to add the following element in your descriptor image.get.desc.xml:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;webscript&amp;gt;&lt;BR /&gt;&amp;lt;shortname&amp;gt;Image&amp;lt;/shortname&amp;gt;&lt;BR /&gt;&amp;lt;description&amp;gt;Image description&amp;lt;/description&amp;gt;&lt;BR /&gt;&amp;lt;url&amp;gt;/image&amp;lt;/url&amp;gt;&lt;BR /&gt;&amp;lt;authentication&amp;gt;guest&amp;lt;/authentication&amp;gt;&lt;BR /&gt;&amp;lt;/webscript&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;And then you have to invoke this webscript using a guest parameter in this way:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;a href="&lt;A href="http://localhost:8080/alfresco/service/image?guest=true" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/service/image?guest=true&lt;/A&gt;" &amp;gt; click to view the image&amp;lt;/a&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2009 18:28:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/accessing-the-image-content/m-p/235601#M188731</guid>
      <dc:creator>openpj</dc:creator>
      <dc:date>2009-11-17T18:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing the Image Content</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/accessing-the-image-content/m-p/235602#M188732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply OpenPj &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As per you said, I created the content in Guest Home Space and tried accessing the content straight away by the url &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://localhost:8080/alfresco/d/d/workspace/SpacesStore/96d3871f-0e45-42c2-a34d-21bef469a4ca/homeSmiley.gif?guest=true" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/d/d/workspace/SpacesStore/96d3871f-0e45-42c2-a34d-21bef469a4ca/homeSmiley.gif?guest=true&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Its working fine&amp;nbsp;&amp;nbsp; &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But when i try to give the same guest=true for the web script that access the content which i mentioned above, its not working&amp;nbsp; &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://connect.hyland.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt; . I dont know what is the reason behind it. Web script url is&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://localhost:8080/alfresco/service/image?guest=true" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/service/image?guest=true&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please tell me why that is not working.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2009 09:06:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/accessing-the-image-content/m-p/235602#M188732</guid>
      <dc:creator>sowmiya</dc:creator>
      <dc:date>2009-11-24T09:06:12Z</dc:date>
    </item>
  </channel>
</rss>

