<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Let me explain how in the patrons (users) database the picture is shown, without the use of the 'show_image.php' script as an alternative :<br>
<br>
1. I created an 'Alias' in Apache virtual host configuration for ABCD (actually by copying/editing the example of ScriptAlias in the existing configuration httpd-vhosts-abcd.conf) :
<br>
Alias /docs/ "/ABCD/www/bases/" <br>
<Directory "/ABCD/www/bases/"><br>
AllowOverride None<br>
Options None<br>
Order allow,deny<br>
Allow from all<br>
</Directory><br>
2. After restarting Apache, now it will substitute all occurrences of '/docs/' in the URL by the full path as defined : /ABCD/www/bases/.<br>
3. So in the PFT now you only have to refer to the pictures by putting '/docs/' followed by the database-name (users) and then the repository subfolder-name, followed finally by the actual name of the picture (which is taken from v620<br>
Thus the PFT becomes : <br>
'<img src="/docs/users/dr/'v620'"</img>'<br>
where the path for the image will actually be /ABCD/www/bases/users/dr/.<br>
So you have to put the pictures there.<br>
It is outside the Apache DocumentRoot (or domain), but by creating the Alias it can still work (as that is the purpose of Aliases).<br>
<br>
I hope this clarifies things and allows you to solve the problem.<br>
<div><br>
<div class="BodyFragment"><font size="2"><span style="font-size:10pt;">
<div class="PlainText">Egbert de Smet<br>
Universiteit Antwerpen</div>
</span></font></div>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF469941"><font size="2" color="#000000" face="Tahoma"><b>From:</b> isis-users [isis-users-bounces+egbert.desmet=ua.ac.be@iccisis.org] on behalf of De Smet Egbert [egbert.desmet@uantwerpen.be]<br>
<b>Sent:</b> Tuesday, December 02, 2014 10:28 AM<br>
<b>To:</b> bhowa tg; ISIS Users List<br>
<b>Subject:</b> Re: [Isis-users] Photo/Image display<br>
</font><br>
</div>
<div></div>
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">Hi,<br>
<br>
the obvious answer is another question : where are your pictures stored ?<br>
<div>There are two options here :<br>
- either you store in /ABCD/www/htdocs/bases/[yourdb], so this is the 'DocumentRoot' (of Apache) followed by the 'bases' folder and in there the subfolder named with your database-name<br>
- or you define in the main database-folder for your database (e.g. /ABCD/www/bases/[yourdb]) a file named 'dr_path.def' (for 'digital repository path definition') in which you put the path where you want your 'repository' to be, which then can also be outside
the DocumentRoot, e.g. your bases-folder itself.<br>
You will see an example of this for the CEPAL (biblo) demo-database.<br>
<br>
<div class="BodyFragment"><font size="2"><span style="font-size:10pt">
<div class="PlainText">Egbert de Smet<br>
Universiteit Antwerpen</div>
</span></font></div>
</div>
<div style="font-family:Times New Roman; color:#000000; font-size:16px">
<hr tabindex="-1">
<div id="divRpF220703" style="direction:ltr"><font size="2" color="#000000" face="Tahoma"><b>From:</b> isis-users [isis-users-bounces+egbert.desmet=ua.ac.be@iccisis.org] on behalf of bhowa tg [bhowatg@gmail.com]<br>
<b>Sent:</b> Tuesday, December 02, 2014 10:02 AM<br>
<b>To:</b> ISIS Users List<br>
<b>Subject:</b> [Isis-users] Photo/Image display<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">
<div class="gmail_default" style="font-family:comic sans ms,sans-serif">Colleagues'<br>
<br>
</div>
<div class="gmail_default" style="font-family:comic sans ms,sans-serif">in my display format is not showing the photo/picture.. format am using is this<br>
</div>
<div class="gmail_default" style="font-family:comic sans ms,sans-serif"><br>
'<td rowspan=21 valign=top width=150><img src=../common/show_image.php?image='v60'&base=photos></td>'<br>
<br>
</div>
<div class="gmail_default" style="font-family:comic sans ms,sans-serif">sos<br clear="all">
</div>
<br>
-- <br>
<div class="gmail_signature">
<div dir="ltr"><br>
<span style="font-family:comic sans ms,sans-serif">bhowa tg<br>
Infoprenuer, abcdZim.org<br>
<a href="mailto:bhowatg@gmail.com" target="_blank">bhowatg@gmail.com</a> IM & skypeID: bhowatg<br>
blog: <a href="http://bhowatg.blogspot.com" target="_blank">http://bhowatg.blogspot.com</a><br>
<a href="http://facebook.com/groups/abcdzim/" target="_blank">http://facebook.com/groups/abcdzim/</a>;
<a href="http://twitter.com/bhowatg" target="_blank">http://twitter.com/bhowatg</a><br>
<a href="http://www.abcdZim.co.cc" target="_blank">www.abcdZim.co.cc</a><br>
</span><br>
<br>
<span style="font-family:comic sans ms,sans-serif">"there are two equally dangerous extremes-<br>
to shut reason out and to let nothing else in"<br>
Pascal, 1670</span><br>
<br>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>