I'm trying to add additional CSS class to a field after the field is added. But not for all fields of that particullar content type, but only for those, that editor would like to. Like a module Formatter_field lets user to chose the field format - I have an image field and couple of different image formats, which I can chose after I upload an image which formatter_field.
I cannot find anywhere a solution, how to add additional css class to the same field.
For example:
User uploads an image via image field, using formatter_field he/she choses image format from image_cache and then adds CSS class wich adds border. Then adds another image to the same node (as image field is set to "unlimited"), choses different format and adds different CSS class, which gives different border to that image. And all this in one node.
update:
In my exact case I want to create a horizontal gallery, where images and texts are shown inline horizontally in such a way, that some of the pictures are bigger, some are smaller and are aligned in different heights and sometimes between those pictures there are text blocks with explanations about the works. Like in on a real gallery wall. :) Would be great that all one gallery is one node as it is easier to edit.