LCMS Images

From Dokeos

Jump to: navigation, search

Contents

General description

There are a lot of unused images in Dokeos. A cleaning action is necessary.

Version/Due date

Dokeos 2.0

Analysis

A lot of unused images are already cleaned up. We need to continue this job until the first 2.0 release. (See http://bonny.hogent.be/ for an automatically generated list of image problems)

Implementation

  • All images will be in PNG format. The transparency of the format allows people to change the actual colors in the CSS without having to tweak the actual icons. Workarounds exist to make pre-IE 7 versions support the transparency of these icons
  • Since Dokeos supports themes each application will have it's own images folder.
  • A general images folder will be maintained for images used throughout the entire platform (or at least several components / applications)
  • Following a.o. the Tango (available on the Tango Project homepage) style guidelines, icons should be in one of the following 3 formats:
    • Extra Small: 16 x 16
    • Small: 22 x 22
    • Medium: 32 x 32 (often used by a.o. Windows XP or Linux Desktop Environment KDE)
    • Large: 48 x 48
  • In exceptional cases, larger renderings of icons might be necessary, this should however be kept to an absolute minimum.
  • Other platform-common images which do not require transparency can be in PNG or in JPG. JPG is advised for larger, non-icon images. (e.g. screenshots in the help-function)
  • Three icon themes will possibly be available upon release of Dokeos 2.0:
    • Tango, which is being used for developmental purposes right at the moment.. The library is licensed under the Creative Commons Attribution-Share Alike 2.5 Generic-license. Can we keep on using this library ?
    • Nuvola, which is more or less the theme being used in Dokeos 1.8.x. It will initially be there to make the transition from 1.8.x to 2.x as painless as possible. Nuvola is released under the LGPL-license, which is compatible with Dokeos' GNU-GPL v2. (also compatible with GNU-GPL v3)
    • An iconset developed by an arts-student at Hogent. The set allows you to choose the actual background shape of the icons, as they're designed to be used as transparents on top of a background shape and/or color.

Icon Naming Specification

Given the fact that Dokeos 2.0 will support completely seperated themes (both css and icon-wise), it is necessary to come up with some kind of naming specification for the icons used on the platform. Following the Freedesktop Icon Naming Specification, it should be possible to come up with some kind of general structure in which all icons could fit. Some obvious groups would be:

  • learning-object (normally 22 x 22 px)
  • treemenu (icons displayed in the various treemenus throughout the system e.g. attachment panel, repository category menu, etc., normally 16 x 16 px)
  • actions (normally 16 x 16 px)
  • ...

Things like status (error, warning and normal message) and mimetypes (mp3, mov, jpg, png, ...) are likely candidates too. The list will be expanded as the iconset takes shape.

Unresolved issues

Some images are used in the help function. Be careful when deleting them? You can search on the filename in the /lang folders to see if the images are still used.

Personal tools