I am not sure if I should open this issue here or in Automatic Nodetitles module. I am using an Exif Token for the automatic title of my node, in my case the Token is:
[node:field_image_caption]
... which picks up the iptc_caption
data from my image.
On saving a node for the first time, the automtically generated title does not appear but if I run: drush exif-update
, then the generated title does appear. However on subsequent node saves, the title then goes away again.
I tried the very same thing but using a built in Drupal token such as: [node:author]
and it works as expected, I can do subsequent node saves and the title does not get deleted. I know this is probably an edge case so I am not sure how complicated this would be to find the cause and fix. Thanks.
Comments
Comment #1
Danny EnglanderJust following up on this issue, thanks.
Comment #2
griz CreditAttribution: griz commentedIf anyone else is struggling with this you can use Rules.
Import this rule, changing "photograph" for your node type. I have it set to use the file name but you could also change that.
Comment #3
Danny Englander@griz, I am just curious what this rule does, does it run
drush exif-update
on node save? It sounds like a work around to me and not a fix for the module but might be good in the short term until this gets fixed.Comment #4
jphautin CreditAttribution: jphautin commentedComment #5
jphautin CreditAttribution: jphautin as a volunteer commentedHello,
For Drupal 7.x :
For Drupal 8.x:
For now, (2016/11), there is no *Automatic Entity Labels* module available. So the last development version of exif is doing the work alone. Just use a exif widget on the title and it will work. I could eventually backport on 7.x branch but I think this is not necessary as Automatic Entity Labels Module is doing the job.
regards,