POV-Ray : Newsgroups : povray.object-collection : Thumbnail. How to? Server Time
8 Feb 2023 05:09:38 EST (-0500)
  Thumbnail. How to? (Message 1 to 3 of 3)  
From: Thomas de Groot
Subject: Thumbnail. How to?
Date: 14 Oct 2007 10:09:39
Message: <47122323$1@news.povray.org>
I uploaded a macro to the collection, including two images, one of which is 
supposed to be the thumbnail. However, it does not appear. I am at a loss to 
find out how to do that correctly. I may have overlooked the topic in the 
help document though. Why not make a separate upload field for thumbnail and 
larger version?

Thomas


Post a reply to this message

From: Chris B
Subject: Re: Thumbnail. How to?
Date: 14 Oct 2007 14:44:48
Message: <471263a0@news.povray.org>
"Thomas de Groot" <t.d### [at] internlDOTnet> wrote in message 
news:47122323$1@news.povray.org...
>I uploaded a macro to the collection, including two images, one of which is 
>supposed to be the thumbnail. However, it does not appear. I am at a loss 
>to find out how to do that correctly. I may have overlooked the topic in 
>the help document though. Why not make a separate upload field for 
>thumbnail and larger version?
>
> Thomas
>

Hi Thomas,

This thumbnail problem was my fault. The thumbnail you submitted 
('hfcs_thumbnail.png') has a perfectly valid name but I'd forgotten to make 
the application search for thumbnails using the optional prefix. That 
problem has now been rectified, so the thumbnail now displays correctly on 
the search page. The rule for the thumbnail to appear on the search page is 
that it must be just the contribution name/prefix name followed by 
'_thumbnail' and the file type for the thumbnail image file (jpg, jpeg, jpe, 
gif or png).

The larger image was called 'hfcs_example.png' whereas it needs to be just 
'hfcs.png' to be automatically hyperlinked from the thumbnail, so I've 
renamed it to 'hfcs.png'. The rule for getting the thumbnail to hyperlink to 
a larger image is that the larger image must be just the contribution 
name/prefix name followed by the file type for the larger image file (jpg, 
jpeg, jpe, gif or png).

The naming is covered in the help at 
http://lib.povray.org/usersguide/04contributing.html#prep under the heading 
'Files that you should submit'. I'll try to make that section a little 
clearer, but I'll also try to make the submission screen a bit more helpful 
on this with a warning message as suggested by Warp on povray.general.

Regards,
Chris B.


Post a reply to this message

From: Thomas de Groot
Subject: Re: Thumbnail. How to?
Date: 15 Oct 2007 05:33:40
Message: <471333f4$1@news.povray.org>
Thank you, Chris, for your info and help!

Thomas

"Chris B" <c_b### [at] btconnectcomnospam> schreef in bericht 
news:471263a0@news.povray.org...
>
> Hi Thomas,
>
> This thumbnail problem was my fault. The thumbnail you submitted 
> ('hfcs_thumbnail.png') has a perfectly valid name but I'd forgotten to 
> make the application search for thumbnails using the optional prefix. That 
> problem has now been rectified, so the thumbnail now displays correctly on 
> the search page. The rule for the thumbnail to appear on the search page 
> is that it must be just the contribution name/prefix name followed by 
> '_thumbnail' and the file type for the thumbnail image file (jpg, jpeg, 
> jpe, gif or png).
>
> The larger image was called 'hfcs_example.png' whereas it needs to be just 
> 'hfcs.png' to be automatically hyperlinked from the thumbnail, so I've 
> renamed it to 'hfcs.png'. The rule for getting the thumbnail to hyperlink 
> to a larger image is that the larger image must be just the contribution 
> name/prefix name followed by the file type for the larger image file (jpg, 
> jpeg, jpe, gif or png).
>
> The naming is covered in the help at 
> http://lib.povray.org/usersguide/04contributing.html#prep under the 
> heading 'Files that you should submit'. I'll try to make that section a 
> little clearer, but I'll also try to make the submission screen a bit more 
> helpful on this with a warning message as suggested by Warp on 
> povray.general.
>
> Regards,
> Chris B.
>
>
>


Post a reply to this message

Copyright 2003-2021 Persistence of Vision Raytracer Pty. Ltd.