Descriptive alt tags are not incredibly important to me for accessibility as all the images have descriptive names. And there's plenty of actual content anyway. But I did like having titles for when people hovered over the images

1.10.3
Hi, thanks for replying - I can see that I can enter the alt or title there, but as the content_image block is within my template that would give a generic alt or title tag to all the images I display throughout my website... which at present it does anyway taking the alt from the block name. I was wondering if there was a way to specify an alt tag or title block so an editor or admin could add an image and then add alt text / title text on a per-page, per-image basis?calguy1000 wrote:in the help for the {content_image} tag it describes the 'alt' param.
i.e: {content_image alt='some name' block='foo'}
Code: Select all
{content block='alt_tag' oneline=true' assign='alt'}
{assign var='alt' value=$alt|strip_tags|cms_escape}{* in case users enter wonky stuff *}
{content_image block='foo' alt=$alt}
...?Image1:
Error retrieving file list