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 SOLVED


From: plasa
Subject: Re: [help-GIFT] Charmer Client works--- but don't display images SOLVED SOLVED
Date: Sat, 16 Mar 2002 02:04:13 +0100 (CET)
User-agent: IMP/PHP IMAP webmail program 2.2.6

Hi all.
I solved the problem with the Charmar Client and PHP interface.
Charmer Client won't display the thumbnails if the path to the tumbnail 
directory is not accessible from internet, and the path mut not be global.

The php interface work too, but i have made 2 modifications on the Client.php.
I remove the height and width values in the <img src> tag, because the width 
woas ok, but the height value was empty. 
Now it works.
But i dont know if it is a problem if i remove this 2 values. The Thumbnails 
are always this size?

Thanks anyway for helping me.

Cheers Christian

Zitiere address@hidden:

> Zitiere "address@hidden" <address@hidden>:
> 
> Hi....
> I try to make your 1. solution, putting all the images on the web
> server, and 
> trying to make another collection with gift-add-
> collection.pl /var/www/photogallery/photos --collection-name="test", but
> the 
> url2fts file is always with the file:/var/www.......
> i have a .gift-add-collection in my home directory, witch the gift-home
> and 
> image-directory variable set. That's all
> 
> 
> When i try to manually change the url2fts file to the correct thumbnail
> url 
> prefix, dont change anything on the browser. I soo only a little small
> blue 
> line. The link to the original file is ok.
> 
> When i go to look the source code for the html file, and try to open the
> <img 
> src> url as new address, the thumbnail is displayed. 
> Hm. Strange.
> 
> Thanks for helping me.
> 
> Christian
> 
> > 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-
> > 
> > 
> > _______________________________________________
> > help-GIFT mailing list
> > address@hidden
> > http://mail.gnu.org/mailman/listinfo/help-gift
> > 
> > 
> > 
> 
> _______________________________________________
> help-GIFT mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/help-gift
> 
> 
> 



reply via email to

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