[ckan-discuss] Pictures in CKAN description

Rufus Pollock rufus.pollock at okfn.org
Wed Nov 16 21:03:12 GMT 2011

On 15 November 2011 13:33, Jan Kučera <elquenor at gmail.com> wrote:
> Hello,
> I would like to add a class diagram into CKAN dataset description. I know
> that I can add link to a picture into the dataset description using Markdown
> formatting. But this requires some external storage for the pictures.

To follow up Tom's comment. I actually think adding pictures as
resources is a practice we should support and encourage. For example,
you might have images that constitute data (e.g. a graph) -- this
sounds a bit like your situation.

> Is it possible to upload pictures into CKAN package description? Are there
> any recommendations or best practice how to deal with graphical metadata
> like dataset models in CKAN?

Specific answer here is if you want to upload image you should upload
it / add it as a normal "resource". In terms of graphical metadata
this wouldn't be that different from other resource metadata (you can
have a name, a description, a format, mimetype etc).

You can then obviously just link to that resource from the dataset
description (or even better, in the new resource view (which we are
developing right now [1]) the image would be displayed directly on the
relevant resource page.


[1]: http://wiki.ckan.org/Dataset_and_Resource_Pages

More information about the ckan-discuss mailing list