help-gift
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [help-GIFT] Charmer Client works--- but don't display images


From: address@hidden
Subject: Re: [help-GIFT] Charmer Client works--- but don't display images
Date: Sat, 16 Mar 2002 06:19:03 +0700 (JAVT)

On Sat, 16 Mar 2002 address@hidden wrote:

> 
> Thanks a lot for your fast responting.
> IT WORKS.
> Great! Its so simple when you know how :-)))
> 
> Only one small problem i have. The thumbnails aren't displayed. If i go over 
> a 
> image, the url is file://var/www/photo......
> where can i tell gift to change the global path into http path?
> 
> Thanks a lot.
> 
> Christian
> 

it would be shown if the url is
http://some_web_address/some_folder/some_image

so there's two way so that the url would be that would as shown above

1) put your image on your website  public file (eg. on public_html) and
run the gift-add-collection.pl /home/home_dir/public_dir/image_folder
and it would automatically generate the corect url.

2) for images that already been indexed, put the folder to public_html
(assuming it is your website public file and you don't want to give
permission to the world to your home directory folder) then the next step
is go
to the folder "gift-indexing-data/your_collection_name", my
gift-indexing-data is on my home directory. and find the file "url2fts.xml
open the file and change every file://var/www/photo../ to
http://your_web_address/public_dir/your_image_folder/ and it is done..

here from one of my url2fts files.

<image-list>
  <image
url-postfix="http://localhost/~suryo/gimp-savvy/background.gif"; 
thumbnail-url-postfix="http://localhost/~suryo/gimp-savvy_thumbnails/background_thumbnail_gif.jpg";
 
feature-file-name="/home/suryo/gift-indexing-data/gimp-savvy//background_gif.fts"
 />
  <image
url-postfix="http://localhost/~suryo/gimp-savvy/grokking-the-gimp-med.gif"; 
thumbnail-url-postfix="http://localhost/~suryo/gimp-savvy_thumbnails/grokking-the-gimp-med_thumbnail_gif.jpg";
 
feature-file-name="/home/suryo/gift-indexing-data/gimp-savvy//grokking-the-gimp-med_gif.fts"
 />

you can read all about this in the gift_guide in the folder gift/Doc

hope this would help,
goodluck!
 -- 
-suryo-




reply via email to

[Prev in Thread] Current Thread [Next in Thread]