lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: XML DataImportHandler copy + rezise pictures in localhost?
Date Fri, 25 Jun 2010 19:59:43 GMT
Marc,

Why not use http://www.imagemagick.org/script/index.php to generate thumbnails separately
from document indexing?

Otis
----
Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Lucene ecosystem search :: http://search-lucene.com/



----- Original Message ----
> From: "scrapy@asia.com" <scrapy@asia.com>
> To: solr-user@lucene.apache.org
> Sent: Fri, June 25, 2010 4:12:02 AM
> Subject: XML DataImportHandler copy + rezise pictures in localhost?
> 
> 


Hi,

I'm adding documents to Solr via XML files and 
> DataImportHandler.

In the XML file i've got some product picture 
> links:


<picture>
        
> <picture_url>
> >http://www.example.com/pic.jpg</picture_url>
</picture>

I 
> would like to keep a local thumb of these picture in local server in order to 
> avoid long external loading time.

Example:

Original picture: 
> 

> >http://www.example.com/pic.jpg is 800x600px

==> 
> conversion

Local picture:


> target=_blank >http://localhost/pic.jpg in 100x100px



Is there 
> a way to do this?

Thanks for your help.

Marc

Mime
View raw message