Closed (fixed)
Project:
ImageField
Version:
5.x-2.1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
2 Jul 2008 at 09:42 UTC
Updated:
14 Jul 2012 at 19:20 UTC
I've created a patch that adds support for setting custom default alt and title text with support for tokens.
Since ImageField is commonly used in a clearly defined context it can be useful to use data from the node in a default alt and title text. A typical use case would be for a Product node type on an e-commerce site where the node title can be used as the product shot alt text. This obviously also removes the burden of entering custom text from the user (and the burden of educating end users on the importance of alt text from web developers).
This could also be useful as a SEO tool.
This is somewhat related to #193887: Accessibility enhancements.
| Comment | File | Size | Author |
|---|---|---|---|
| imagefield_module_token.patch | 4.37 KB | henrrrik |
Comments
Comment #1
henrrrik commentedI noticed that this functionality is now in 6.x-3.0-alpha1. Superb!
Comment #2
webchickSo, fixed?
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #4
benone commentedI opened this again, because there is a default option to set for alt and title , but there is NO node title token available..
Am I missing something ?
Comment #5
ManyNancy commentedNot sure what happened, but the title token disappeared.
Can anyone please take a look at this.
Comment #6
quicksketchPlease open a new issue rather than reopening a feature request.
Comment #7
juliangb commentedI've opened: #889950: Title token missing from Alt and Title fields