I’ve created a custom node type, following the example in documentation. The front end is rendering width and height attributes in the img tag despite having nothing in the fluid template:
I assume it is inheriting this from the default neos configuration. How do I go about supressing this behaviour? ie. removing width= height= from the image tag. I’d rather control image dimensions through CSS.
You can create your own VH current the default viewhelper does not support skipping the width / height attributes. Basically copy paste the default VH, remove the attribute generation and you are done.
So assuming I write a custom viewhelper for my project, how would I then adapt it to function as a core feature? Is there a standard way of adding a configuration option for end users? eg. check box in inspector to disable html attributes for width/height in a particular image? or somewhere in a yaml file?
I’m a graphic/web designer with some coding experience, and just starting to find my way with Neos…