<?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: Image not seen in PDF when inserted from alfresco repository in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/image-not-seen-in-pdf-when-inserted-from-alfresco-repository/m-p/304039#M257169</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;from the wiki article you've linked &amp;lt;cite&amp;gt;The Guest user must have access to the item referenced by the URL or the access attempt will fail.&amp;lt;/cite&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is a special user called "guest" and that user must be consumer on the file. That user must be given the consumer permission via "Manage Permissions".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Trying to view the PDF rendition as admin will not change anything since the external process (OpenOffice) will still use an unauthenticated request to retrieve the content.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Jun 2014 08:02:35 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2014-06-10T08:02:35Z</dc:date>
    <item>
      <title>Image not seen in PDF when inserted from alfresco repository</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/image-not-seen-in-pdf-when-inserted-from-alfresco-repository/m-p/304034#M257164</link>
      <description>Hi, when I insert an image in HTML and convert it to PDF through a rule, the image is not seen in the PDF. Strangely, if the image is on some remote server except alfresco repository, it can be seen. So, it has problem only with showing Alfresco repository images. Please suggest as how this problem</description>
      <pubDate>Tue, 27 May 2014 16:05:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/image-not-seen-in-pdf-when-inserted-from-alfresco-repository/m-p/304034#M257164</guid>
      <dc:creator>juilee</dc:creator>
      <dc:date>2014-05-27T16:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: Image not seen in PDF when inserted from alfresco repository</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/image-not-seen-in-pdf-when-inserted-from-alfresco-repository/m-p/304035#M257165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the only sure way I know is to make the image accessible without authentication and use a non-authenticated URL to include it in the HTML. This particular issue is due to the fact that the HTML to PDF conversion is performed by an external tool (typically OpenOffice / LibreOffice) which has to get the image via HTTP from Alfresco. Since an image in Alfresco is typically under access control and requires authenticated access, the external tool can't get to the image because it can't authenticate.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2014 09:37:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/image-not-seen-in-pdf-when-inserted-from-alfresco-repository/m-p/304035#M257165</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2014-05-30T09:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: Image not seen in PDF when inserted from alfresco repository</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/image-not-seen-in-pdf-when-inserted-from-alfresco-repository/m-p/304036#M257166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Axel, Thanks a lot for replying. I will surely try that. How do I make the image accessible without authentication? I am not giving any explicit authentication in my code, it might be using a default one. I am calling a Javascript code for including the URL image link in the HTML page. The URL looks something like this with guest=true authentication.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&lt;A href="http://127.0.0.1:8081/share/proxy/alfresco/api/node/content//workspace/SpacesStore/665061a4-eeda-4ad4-9717-1f27adb85ab9/sdilogo.jpg?guest=true" rel="nofollow noopener noreferrer"&gt;http://127.0.0.1:8081/share/proxy/alfresco/api/node/content//workspace/SpacesStore/665061a4-eeda-4ad4-9717-1f27adb85ab9/sdilogo.jpg?guest=true&lt;/A&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;BR /&gt;&lt;SPAN&gt;It lets me view the image without logging in, but still the image cannot be seen in the PDF.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2014 12:44:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/image-not-seen-in-pdf-when-inserted-from-alfresco-repository/m-p/304036#M257166</guid>
      <dc:creator>juilee</dc:creator>
      <dc:date>2014-05-30T12:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: Image not seen in PDF when inserted from alfresco repository</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/image-not-seen-in-pdf-when-inserted-from-alfresco-repository/m-p/304037#M257167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am actually unfamiliar with the guest=true authentication and it sure does not work in any environment (4.1 / 4.2 Enterprise) that I have at my disposal - is it some custom feature that you have included in your Alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The only sure-fire way of providing unauthenticated access is to give the "guest" user consumer permission on the piece of content and then using the guest download server on the Repository to construct the URL.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&lt;A href="http://127.0.0.1:8080/alfresco/guestDownload/direct/workspace/SpacesStore/665061a4-eeda-4ad4-9717-1f27adb85ab9/sdilogo.jpg" rel="nofollow noopener noreferrer"&gt;http://127.0.0.1:8080/alfresco/guestDownload/direct/workspace/SpacesStore/665061a4-eeda-4ad4-9717-1f27adb85ab9/sdilogo.jpg&lt;/A&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;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2014 08:09:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/image-not-seen-in-pdf-when-inserted-from-alfresco-repository/m-p/304037#M257167</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2014-06-05T08:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: Image not seen in PDF when inserted from alfresco repository</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/image-not-seen-in-pdf-when-inserted-from-alfresco-repository/m-p/304038#M257168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Axel, I followed this link and set the guest=true authentication:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/URL_Addressability" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/URL_Addressability&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have given the users the consumer permission. I didn't understand the last part of your reply. Can you please elaborate?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, even if I try to view this PDF as an admin, the images are not visible. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Juilee&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2014 14:46:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/image-not-seen-in-pdf-when-inserted-from-alfresco-repository/m-p/304038#M257168</guid>
      <dc:creator>juilee</dc:creator>
      <dc:date>2014-06-05T14:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: Image not seen in PDF when inserted from alfresco repository</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/image-not-seen-in-pdf-when-inserted-from-alfresco-repository/m-p/304039#M257169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;from the wiki article you've linked &amp;lt;cite&amp;gt;The Guest user must have access to the item referenced by the URL or the access attempt will fail.&amp;lt;/cite&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is a special user called "guest" and that user must be consumer on the file. That user must be given the consumer permission via "Manage Permissions".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Trying to view the PDF rendition as admin will not change anything since the external process (OpenOffice) will still use an unauthenticated request to retrieve the content.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2014 08:02:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/image-not-seen-in-pdf-when-inserted-from-alfresco-repository/m-p/304039#M257169</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2014-06-10T08:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: Image not seen in PDF when inserted from alfresco repository</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/image-not-seen-in-pdf-when-inserted-from-alfresco-repository/m-p/304040#M257170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, Thanks for the detailed reply. I am trying to add the guest user as a site member and give him consumer permission. But the problem is the invitation is not sent as the guest doesn't have an email. I tried modifying the user details through share and explorer for guest user but there is no such option to modify. Without the guest user email I am not able to add the user to the site and check if the PDF rendering works. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks !&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2014 15:53:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/image-not-seen-in-pdf-when-inserted-from-alfresco-repository/m-p/304040#M257170</guid>
      <dc:creator>juilee</dc:creator>
      <dc:date>2014-06-10T15:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: Image not seen in PDF when inserted from alfresco repository</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/image-not-seen-in-pdf-when-inserted-from-alfresco-repository/m-p/304041#M257171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;you can add the guest user via the Admin Console tools by adding it to the consumer group of the site - if you are an administrator. You do not have to use the regular invitation for that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2014 07:54:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/image-not-seen-in-pdf-when-inserted-from-alfresco-repository/m-p/304041#M257171</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2014-06-13T07:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: Image not seen in PDF when inserted from alfresco repository</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/image-not-seen-in-pdf-when-inserted-from-alfresco-repository/m-p/304042#M257172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, I tried accessing it as a guest user. So basically, to iterate over the steps, I did the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Add the guest user to my website.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Gave him consumer role.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Added guest=true. to the html link which gets converted to PDF &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;A href="http://127.0.0.1:8081/share/proxy/alfresco/api/node/content//workspace/SpacesStore/665061a4-eeda-4ad4-9717-1f27adb85ab9/mydoc.html?guest=true" rel="nofollow noopener noreferrer"&gt;http://127.0.0.1:8081/share/proxy/alfresco/api/node/content//workspace/SpacesStore/665061a4-eeda-4ad4-9717-1f27adb85ab9/mydoc.html?guest=true&lt;/A&gt;&lt;SPAN&gt;.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Still the same issue (cannot view the image in PDF)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 18:03:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/image-not-seen-in-pdf-when-inserted-from-alfresco-repository/m-p/304042#M257172</guid>
      <dc:creator>juilee</dc:creator>
      <dc:date>2014-06-16T18:03:31Z</dc:date>
    </item>
  </channel>
</rss>

