The question is, where to take the thumbnail from? First frame isn;t necessarily going to be useful.
Posted under General
Would be a daunting task to do all the older stuff, but I don't think that is enough to warrant not doing it. Old stuff might never get thumbnails but at least the new stuff will. I have kind of stayed away from flash files because it's too much of a hassle not knowing what you are going to get.
Soljashy said:
I guess it could be made a manual process, but who would be up to the task? There are currently some six hundred posts tagged flash.
To do this manually and agree on the exact frame to display, not to mention if the site can even display a unique frame without an extra feature, would be a nightmare.
Granola said:
To do this manually and agree on the exact frame to display, not to mention if the site can even display a unique frame without an extra feature, would be a nightmare.
Worst case, you find one sucker willing to sit and sift through them making thumbs manually, and the results will already be better than anything you could produce through some automatic system. Not gonna please everyone, but hey, it's better than what we've got now.
Thumbnails would be an improvement. They should have "swf" written in the corner, so you don't pass over a good animated post with music because you thought it was a mediocre still image. Animated gifs should say "gif".
edit I think automatic thumbnailing would be good enough. Bad thumbnails might still be useful for telling posts apart.
Updated
Thumbnailing for flash files was requested before in forum #26172.
As a quick test, here's what swfdec-thumbnailer shows for the first page of flash: http://img94.imageshack.us/img94/3471/testxrc.png
zatchii said:
As a quick test, here's what swfdec-thumbnailer shows for the first page of flash: http://img94.imageshack.us/img94/3471/testxrc.png
A couple of stuff-ups, but for the most part infinitely more useful than what we have now. I still think legga's suggestion about having 'swf' in the corner is a good idea, especially in cases where the thumbnail ends up all white/black.
zatchii said:
Thumbnailing for flash files was requested before in forum #26172.As a quick test, here's what swfdec-thumbnailer shows for the first page of flash: http://img94.imageshack.us/img94/3471/testxrc.png
Yeah, this what I want. I'll wait for implementation on danbooru :)
Here's an implementation of my flash-labeling suggestion. [screenshot]
Indented with U+3000. Tested in ie6, ie8, chrome4, firefox3.5. Ugh.
javascript:
$$('.thumb img').each(function(img){
var m = img.alt.match(/(^| )(gif|flash)( |$)/);
if(!m)
return;
var label = new Element('span', {
style: 'opacity:0.8' /* ie6-compatible opacity is too hard */
}).setStyle({
position: 'absolute',
top: '3px',
right: '3px',
background: '#d3d3d3',
color: 'black',
fontWeight: 'bold',
padding: '2px'
}).update(m[2]);
$(img.parentNode).setStyle({
position: 'relative',
display: 'block',
margin: 'auto'
}).clonePosition(
img, {setLeft:false, setTop:false}
).insert(label);
});
void(0);
Updated