I have created views with image gallery. Now I want to add alt tag to image how can I do it. I have not enabled alt field in content type configuration.
I want add alt tag to already existing images. Kindly provide the solution to achieve this.
Drupal Answers is a question and answer site for Drupal developers and administrators. It only takes a minute to sign up.Sign up to join this community
There is no way to add unique alt text using views, unless... you use:
This module allows CCK fields to be edited on a node's display (e.g. at node/123), not just on the node edit pages (e.g. node/123/edit). It also works within views etc. Anywhere a 'formatter' can be selected, you can select editable (or click to edit).
You would have to enable the alt in your content type, then you should be able to edit it in your view.
I have more than 150 content. So i am asking for alternative
I take it you're looking for an easy & quick way so you don't have to edit 150 nodes one by one.
would be to find the alt field in your database and export the table as .csv file.
Then edit it using excel, and add your alt text here, save.
Import back in and clear the Drupal cache.