[AliasSettings]
# Defines a list of aliases that are available to
# the template engine and other clients.
# The alias must be defined as a separate INI block.
AliasList[]
AliasList[]=reference
AliasList[]=small
AliasList[]=medium
AliasList[]=large AliasList[]=rss
Hmm..I don't see where you make an Imagesize override to any node here..
I'll explain. I have a class x, class z and class y. These uses all the Imagesize small(100 in width) for displaying uploaded pictures.
Everywhere in the structure these classes shall have Imagesize 100(small), but in node a, b, c and d the displayed images shall have Imagesize 150 pix.
Do I have to make an override file (full_node_a.tpl etc.) for every node I want to make this pict. larger, and in image.ini create another size, or is it possible in image.ini to set an small-imagesize override for these nodes?
image.ini is not meant for overrides, it defines what image sizes/classes are available.
You will have to create an override template for these "special nodes". You may assign them all to a new section, that way you need only one template file/rule in override.ini.
Alternatively, you could add a flag "show image as smaller" to your class definition and use that in your template to determine the image size.
..or else I also have to change the role-permission if I assign this override-template to a new section for some nodes. It's only going to be a mess in the permission-system if I do so ;)
You must be logged in to post messages in this topic!