[Clipart] comments on 0.19, 0.20 roadmap, thumbnails
michaelkrnac at googlemail.com
Wed Mar 18 04:22:48 PDT 2009
Every file in ccHost is represented in following Array.
It should not be hard to add a variable for a thumbnail path!
[upload_id] => 2
[upload_name] => atta ant
[upload_extra] => Array
[usertags] => atta_ant
[ccud] => media,original
[systags] => non_commercial_share_alike,image,png
[relative_dir] => content/admin
[upload_contest] => 0
[user_name] => admin
[file_page_url] => http://localhost/cchost/files/admin/2
[user_real_name] => admin
[artist_page_url] => http://localhost/cchost/people/admin
[license_url] => http://creativecommons.org/licenses/by-nc-sa/3.0/
[license_name] => Attribution Noncommercial Share-Alike (3.0)
[upload_date_format] => Tue, Mar 17, 2009 @ 11:50 AM
[files] => Array
 => Array
[file_id] => 2
[file_upload] => 2
[file_name] => admin_-_atta_ant.png
[file_nicname] => png
[file_format_info] => Array
[media-type] => image
[format-name] => image-png-png
[default-ext] => png
[mime_type] => image/png
[dim] => Array
 => 536
 => 452
[file_extra] => Array
[sha1] => 6HB7YFQG2WX6RZA45RIJ52EYXOY6UMZP
[file_filesize] => (113KB)
[file_order] => 0
[file_is_remote] => 0
[file_num_download] => 0
[file_rawsize] => 115880
[upload_description_plain] => atta ant
On Wed, Mar 18, 2009 at 10:51 AM, Nicu Buculei <nicu_gfx at nicubunu.ro> wrote:
> Jochen Stärk wrote:
>> 1) can the openclipart-ccHost folks use our thumbnails as img src if we
>> just create them as .png?
> AFAIK but IANACH (i am not a ccHost developer), not as-is, the ccHost
> code should be adapted or the thumbnail generator has to edit the database.
>> 2) In the long run, do we live with thumbnails or is there a need to
>> also have full-size png versions?
> My vote here would be to use PNG only for thumbnails, we wanted from the
> start to promote vector graphics and SVG in particular, offering hi-res
> PNGs would defeat that goal and encourage laziness and reliance on old
> technologies (but I am not feeling that strong about this as for the
> license, I could be probably convinced otherwise).
>> 3) Is it enough to have daily generated thumbnail or should there also
>> be something like a on-upload generation?
> Ideally it will work exclusively on upload (and maybe once for the
> entire archive to ensure all the old uploads have proper thumbnails).
> There is no need to parse daily ten of thousand of images searching for
> thumbnail availability.
> But this option is the most intrusive regarding ccHost code hacking.
> nicu :: http://nicubunu.ro :: http://nicubunu.blogspot.com
> Open Clip Art Library: http://www.openclipart.org
> my cool Fedora wallpapers: http://fedora.nicubunu.ro/wallpapers/
> my clipart collection: http://clipart.nicubunu.ro/
> clipart mailing list
> clipart at lists.freedesktop.org
More information about the clipart