Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Hello!
How do I go about adding a new field to my Field Entity Type ?
Currently, somehow ( I don't know how ) I have a "photo credit" field for my images, but I also want a title field and an alt field.
I'm fine with adding files through the core file browser here, it's just I don't know how to simply add a new field to this file entity type, is this possible?
see screenshot attached.
Thanks,
cherner
Comment | File | Size | Author |
---|---|---|---|
Screen Shot 2015-07-06 at 12.13.53 PM.png | 36.85 KB | cherner |
Comments
Comment #1
saurabh.dhariwal CreditAttribution: saurabh.dhariwal at AddWeb Solution Pvt. Ltd. commentedYou can set image field "Alt text" and "Title text" from "Admin >> Configuration >> Media >> File Settings (i.e. admin/config/media/file-settings). Here, you can find two text boxes (i.e. Alt attribute, Title attribute) you can specify Token here from "Browse available tokens" link.
Let me know incase of any query/concern regarding this.
Thanks!
Comment #2
Dave Reid