collective / collective.nitf

A Dexterity-based content type inspired on the News Industry Text Format specification
8 stars 3 forks source link

INITF should implement IImageField #8

Closed hvelarde closed 13 years ago

hvelarde commented 13 years ago

implementing IImageField could be useful to show image thumbs when folder_summary_view (or other similar template) is in use the same way as a classic News Item does; the implementation could be made through the first image available.

the implementation is not well defined but we can start by adding a tag method and attributes pointing to different image sizes as ImageField does.

saibatizoku commented 13 years ago

The use of this interface is not well-documented, because of this and its ArcheTypes-based origin, implementing it on Dexterity-based types is not straightforward. See #2.

hvelarde commented 13 years ago

we still need to provide a solution for this.

hvelarde commented 13 years ago

7598293ff300463c4d9f14d1d1ada4c28ae47d68 implements a good workaround with a modified version of the folder_summary_view template.