<div dir="ltr">Tom,<div><br></div><div>That is very helpful to know. Thank you!</div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Nov 16, 2018 at 11:18 AM Adams, Thomas <<a href="mailto:tadams@cshl.edu">tadams@cshl.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div class="m_6982284440845790651WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Jerry,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">You are able to include an image within the resource/collection description. Simply added within the Notes - Scope and Content section, the following tag:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><extptr href="<a href="http://library.cshl.edu/images/archives/datura-workers-1927.jpg" target="_blank">http://library.cshl.edu/images/archives/datura-workers-1927.jpg</a>" actuate="onload" show="embed"></extptr><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">For including a link, we use the following construct:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><extref href="<a href="http://library.cshl.edu/personal-collections/amos-g-avery/collection-inventory" target="_blank">http://library.cshl.edu/personal-collections/amos-g-avery/collection-inventory</a>"><a href="http://library.cshl.edu/personal-collections/amos-g-avery/collection-inventory%3c/extref" target="_blank">http://library.cshl.edu/personal-collections/amos-g-avery/collection-inventory</extref</a>><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">These two constructs do not get sanitized, like the html construct would. No AS customization is required. I do not see why both would not work together.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">An example of both is displayed here:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><a href="http://archivesspace.cshl.edu/repositories/2/resources/8" target="_blank">http://archivesspace.cshl.edu/repositories/2/resources/8</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hope that helps.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">-Tom<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">archivesspace_users_group-bounces@lyralists.lyrasis.org</a> [mailto:<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">archivesspace_users_group-bounces@lyralists.lyrasis.org</a>]
<b>On Behalf Of </b>Terry Brady<br>
<b>Sent:</b> Friday, November 16, 2018 1:54 PM<br>
<b>To:</b> <a href="mailto:archivesspace@googlegroups.com" target="_blank">archivesspace@googlegroups.com</a>; Archivesspace Users Group<br>
<b>Subject:</b> [Archivesspace_Users_Group] Styling links in ArchviesSpace notes<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">The Georgetown University Library uses DSpace to publish digital objects for our archival collections.<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">In ArchivesSpace, we will be constructing DAO objects that link to specific DSpace items.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">At the ArchivesSpace resource/collection level, we would like to display a note that indicates that digital objects exist within the resource. We would like that note to link to a DSpace collection.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">We are able to create a scope and content note that contains a hyperlink to a DSpace collection.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Additionally, we would like to display an inline image along with that hyperlink.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">If we attempt to add html img tags into our scope and content note, we see that ArchivesSpace sanitizes the html and removes the img tags.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Is there a way to include inline images within a note (or another object) in ArchivesSpace?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">So far, we have kept the code changes in our AS instance to a minimum. I suppose that we could create a custom note type and then render that note type on the front end with an inline image. If possible, we would prefer to avoid that
level of customization.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Do you have any suggestions for how we could solve this problem?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<div>
<p class="MsoNormal">Alternatively, we think it could be useful to be able to display DAO thumbnails inline for collection/resource objects. See the following enhancement request: <a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__archivesspace.atlassian.net_browse_ANW-2D810&d=DwMFaQ&c=mkpgQs82XaCKIwNV8b32dmVOmERqJe4bBOtF0CetP9Y&r=TjLjUtY9iLO-GIp5svlZHQ&m=_cXjaq6ih0M7IjucpRywXzBbMbqpxxrDCKGBCLZWMm8&s=7YvhpXakAFrJYG5apnjYECsKAGVtlUum81H8D37IuGQ&e=" target="_blank">https://archivesspace.atlassian.net/browse/ANW-810</a><u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Thanks, Terry<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal">-- <u></u><u></u></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">Terry Brady<u></u><u></u></p>
<div>
<p class="MsoNormal">Applications Programmer Analyst<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Georgetown University Library Information Technology<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_terrywbrady_info&d=DwMFaQ&c=mkpgQs82XaCKIwNV8b32dmVOmERqJe4bBOtF0CetP9Y&r=TjLjUtY9iLO-GIp5svlZHQ&m=_cXjaq6ih0M7IjucpRywXzBbMbqpxxrDCKGBCLZWMm8&s=l2DlSuajcsrq8uW_aIbPQMGfMXBVddVBIBPHvHjKWi4&e=" target="_blank">https://github.com/terrywbrady/info</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">425-298-5498 (Seattle, WA)<u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
_______________________________________________<br>
Archivesspace_Users_Group mailing list<br>
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" target="_blank">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br>
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" rel="noreferrer" target="_blank">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Terry Brady<div>Applications Programmer Analyst</div><div>Georgetown University Library Information Technology</div><div><a href="https://github.com/terrywbrady/info" target="_blank">https://github.com/terrywbrady/info</a></div><div>425-298-5498 (Seattle, WA)</div></div></div></div></div></div></div></div></div></div></div>