Re: some questions
David Squire <[email protected]> Tue, 17 May 2011 13:03:33 +1000
| Newsgroups | gmane.comp.gnu.gift.general |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format. --===============5457339373766637128== Content-Type: multipart/alternative; boundary="------------050804090507000208090302" This is a multi-part message in MIME format. --------------050804090507000208090302 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sorry, I haven't had anything to do with any PHP interfaces. You might be able to work out what you need to do from my (very old) Perl code... On 17/05/11 1:00 PM, zhigao pu wrote: > Hi David, > > Thanks alot and I finally made it working in my web browser. > Thanks for your good work. > > Are you also aware of any working PHP interface which I can use? > the one I found in > http://hci.uni-konstanz.de/gundelsw/GIFT_PHP/PHP_Gift_2004-10-07.zip > seems lacking of some files and I can not make it work on my web server. > > Please advise. > > Thanks > > Richard. > > ------------------------------------------------------------------------ > Date: Tue, 17 May 2011 10:55:05 +1000 > From: [email protected] > To: [email protected] > Subject: Re: [help-GIFT] some questions > > Please keep all traffic on the help-GIFT mailing list. I am replying > via the list. > > On 17/05/11 12:09 AM, zhigao pu wrote: > > Hi David, > > Thank you for your help. > > I found a perl client download: > http://viper.infotech.monash.edu.au/~davids/PerlMRMLClient.tar.gz > <http://viper.infotech.monash.edu.au/%7Edavids/PerlMRMLClient.tar.gz> > > Is this written by you? > > > Yes, that's the one, as the host and name should suggest. > > > When deploy this client in my web server, and access it, I > found the image link generated in the web page is something like > "file:///home/photos_thumbnails/P1010056_thumbnail_JPG.jpg", and > "file:///home/photos/P1010076.JPG", they can not be displayed on > my browser. > > > They should be, if your browser is running on the same machine as the > server. That is a valid local URL. > > > Can you you tell me what's the problem?. I did the image > indexing by the following command: > > gift-add-collection.pl /home/photos > > > > If you want them to be publicly visible on the web, you need to put > your image collection in a folder that is mapped to the web, e.g. > '~/public_html'. This is addressed in Doc/gift-guide.sgml. Look in the > section 'Indexing a collection | Handling files in public_html'. > > Regards, > > David > > > -- > Dr David McG. Squire, Senior Lecturer > Clayton School of Information Technology, Monash University, Australia > CRICOS Provider No. 00008C http://www.csse.monash.edu.au/~davids/ <http://www.csse.monash.edu.au/%7Edavids/> > > _______________________________________________ help-GIFT mailing list > [email protected] https://lists.gnu.org/mailman/listinfo/help-gift -- Dr David McG. Squire, Senior Lecturer Clayton School of Information Technology, Monash University, Australia CRICOS Provider No. 00008C http://www.csse.monash.edu.au/~davids/ --------------050804090507000208090302 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> Sorry, I haven't had anything to do with any PHP interfaces. You might be able to work out what you need to do from my (very old) Perl code...<br> <br> On 17/05/11 1:00 PM, zhigao pu wrote: <blockquote cite="mid:[email protected]" type="cite"> <style><!-- .hmmessage P { margin:0px; padding:0px } body.hmmessage { font-size: 10pt; font-family:Tahoma } --></style> Hi David,<br> <br> Thanks alot and I finally made it working in my web browser. Thanks for your good work.<br> <br> Are you also aware of any working PHP interface which I can use? the one I found in <a class="moz-txt-link-freetext" href="http://hci.uni-konstanz.de/gundelsw/GIFT_PHP/PHP_Gift_2004-10-07.zip">http://hci.uni-konstanz.de/gundelsw/GIFT_PHP/PHP_Gift_2004-10-07.zip</a> seems lacking of some files and I can not make it work on my web server.<br> <br> Please advise.<br> <br> Thanks<br> <br> Richard. <br> <br> <hr id="stopSpelling">Date: Tue, 17 May 2011 10:55:05 +1000<br> From: <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a><br> To: <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a><br> Subject: Re: [help-GIFT] some questions<br> <br> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta name="Generator" content="Microsoft SafeHTML"> Please keep all traffic on the help-GIFT mailing list. I am replying via the list.<br> <br> On 17/05/11 12:09 AM, zhigao pu wrote: <blockquote cite="mid:[email protected]"> <style> .ExternalClass .ecxhmmessage P {padding:0px;} .ExternalClass body.ecxhmmessage {font-size:10pt;font-family:Tahoma;} </style> Hi David,<br> <br> Thank you for your help.<br> <br> I found a perl client download: <a moz-do-not-send="true" class="ecxmoz-txt-link-freetext" href="http://viper.infotech.monash.edu.au/%7Edavids/PerlMRMLClient.tar.gz" target="_blank">http://viper.infotech.monash.edu.au/~davids/PerlMRMLClient.tar.gz</a><br> <br> Is this written by you?<br> </blockquote> <br> Yes, that's the one, as the host and name should suggest.<br> <blockquote cite="mid:[email protected]"><br> When deploy this client in my web server, and access it, I found the image link generated in the web page is something like <a moz-do-not-send="true" class="ecxmoz-txt-link-rfc2396E" target="_blank">"file:///home/photos_thumbnails/P1010056_thumbnail_JPG.jpg"</a>, and <a moz-do-not-send="true" class="ecxmoz-txt-link-rfc2396E" target="_blank">"file:///home/photos/P1010076.JPG"</a>, they can not be displayed on my browser.<br> </blockquote> <br> They should be, if your browser is running on the same machine as the server. That is a valid local URL.<br> <blockquote cite="mid:[email protected]"><br> Can you you tell me what's the problem?. I did the image indexing by the following command:<br> <br> gift-add-collection.pl /home/photos<br> <br> </blockquote> <br> If you want them to be publicly visible on the web, you need to put your image collection in a folder that is mapped to the web, e.g. '~/public_html'. This is addressed in Doc/gift-guide.sgml. Look in the section 'Indexing a collection | Handling files in public_html'.<br> <br> Regards,<br> <br> David<br> <br> <br> <pre class="ecxmoz-signature">-- Dr David McG. Squire, Senior Lecturer Clayton School of Information Technology, Monash University, Australia CRICOS Provider No. 00008C <a moz-do-not-send="true" class="ecxmoz-txt-link-freetext" href="http://www.csse.monash.edu.au/%7Edavids/" target="_blank">http://www.csse.monash.edu.au/~davids/</a> </pre> <br> _______________________________________________ help-GIFT mailing list <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> <a class="moz-txt-link-freetext" href="https://lists.gnu.org/mailman/listinfo/help-gift">https://lists.gnu.org/mailman/listinfo/help-gift</a> </blockquote> <br> <br> <pre class="moz-signature" cols="72">-- Dr David McG. Squire, Senior Lecturer Clayton School of Information Technology, Monash University, Australia CRICOS Provider No. 00008C <a class="moz-txt-link-freetext" href="http://www.csse.monash.edu.au/~davids/">http://www.csse.monash.edu.au/~davids/</a> </pre> </body> </html> --------------050804090507000208090302-- --===============5457339373766637128== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ help-GIFT mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-gift --===============5457339373766637128==--