On Tue, Jan 06, 2004 at 01:13:00PM +0100, Erik Moeller wrote:
Jens-
good work!
Thanks :-)
Small bug: On the image page, the image is a self-link. Go to http://jeluf.mormo.org/testwiki/wiki.phtml?title=Image:Westminstpalace.jpg & click on the image.
I was lazy and used makeImageLink for this. Will fix this tonight.
- thumbnail to generate a right aligned thumbnail of the image, using the caption text as image caption, adding an enlarge icon to the image and a [more] link to the big image
Please get rid of the icon, or put it -under- the images (right-aligned with the caption, perhaps). The [more] link also is redundant, we should either have the icon or the [more] link, but not both (the icon can have [more] as an ALT text). It was probably hard to embed the icon, but I really think this behavior should be turned off ASAP -- works of art should not be obscured by zoom icons just because we assume the lower right corner is "not important".
wasn't hard, just one call to ImageMagick's composite. The first version of the code used an icon below the image, like e.g. at http://www.spiegel.de/wissenschaft/weltraum/0,1518,280633,00.html
tarquin said he wouldn't like an icon but prefer text. Any opinions?
If we'd use an icon, anyone has a nice one?
Could the "thumbnail" option accept a width parameter? Personally I would probably always want to specify my own width, depending on the context. But I would like the zoom link (*below* the image) and the caption to be included regardless, thus a "thumbnail + width" combination would be most useful to me. I also think "thumbnail" should be shortened to "thumb". Neither term makes much sense for those not in the know already.
Specifying width for thumbnails is not hard to do. Do we want to have this from a "corporate identity" point of view? I think I'll implement it and let the community have a policy whether and when this should be used.
Aliasing thumb or thumbnail is easy, thanks to MagicWord class. It can even be localized ("Daumennagel" *g*) since it's defined in Language.php.
It would be very neat to have an option to use the image page content itself as a caption -- tricky to code though. We may also want to think about making image pages look less hacky -- with a human-readable title and the image history somewhat more separated from the image content.
I had the vision of the image page containing much more info/text than the caption, and the caption might be different for different articles. (say, Leopard.jpg being linked from [[Leopard]] and [[Predator]])
The image page layout is an issue, though. Currently, it's mostly used to state the copyright status of an image. Options:
* Have a separate "Show big picture and nice caption" page, having an own article in a separate namespace * Add a new field to the table, 'caption', that's used as a caption, the current field will be used for copyright status. Upload page should ask for "Copyright status" in a new field, perhaps assisted by a drop down box containing predefined values like "Pre 1920", "PD since from US gov", "Took the photo myself and release it to the GFDL", "... the PD". And make this meta data available on a separate page or (maybe user option) at the images pages bottom.
We have many photos that neither state their source nor what they show.
Regards,
JeLuF