Re: --no-thumbnails

Kamil Wencel <[email protected]>
Newsgroups gmane.comp.gnu.gift.general
Organization RADION
Message-ID <[email protected]>
David, Jonas,

thanks for your time and efforts in extending gift-add-collection to add 
some features. As you've pointed out
there are people like jonas and me who want to strap the gift behind a 
php based system and as such really
appreciate this feature.

I'll probably have a chance to test it on my site on the weekend.
>> need be we can do something like --fake-thumbnail-urls to make thumbnail urls 
>> point to the full images. 
>>
>> My feeling is that GIFT is often used in environment, where the images are not 
>> served to a community, but rather used as a backend to some PHP where the 
>> MRML server itself is not reachable, or not intended to be reached. This 
>> seems to be the case for you, Jonas, and in this case I find it more proper 
>> to suppress the attribute altogether.
>>
>> IF you intend to run the GIFT as MRML server with a reachable and advertised 
>> MRML port, then I would find it useful to use a --fake-thumbnail-urls option 
>> as suggested above, because I am not sure who wrote when which app that 
>> relies on the thumbnail attribute.
>>   
>>     
>
> Please find attached a version of gift-add-collection.pre-pl that
> implements these ideas. There are now options:
>
> --no-thumbnails: prevents thumbnails from being generated, and by
> default causes the thumbnail-url-postfix to be suppressed
> --fake-thumbnails: implies --no-thumbnails w.r.t. thumbnail generation,
> but causes the same URL as in the url-postfix attribute to be used for
> the thumbnail-url-postfix attribute.
>
> Both have been set up so that they can be set in the
> .gift-add-collection file with lines like:
>
> fake-thumbnails="1"
>
> I have tested these using my client, and they work as expected - there
> seems not to be any problems on the server side.
>
> I would be glad if someone using another client could test before I
> commit it.
>
> Cheers,
>
> David
>
> PS. Jonas, simply using '--fake-thumbnails' should do what you want.
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.