- 🇦🇺Australia VladimirAus Brisbane, Australia
Drupal 7 is no longer supported.
Issue is older than 10 years old.
Closing as outdated.
I would like to change the title of image node by using the image file name. The image file name is created by File (Field) Paths module using the title of the gallery node. I thought i will use the Automatic Entity Label module and when image node is saved i change the title of it. I wrote a custom php code for this:
$wrapper = entity_metadata_wrapper('node', $entity);
$node_gallery_media = $wrapper ->node_gallery_media->value();
$file = file_load($node_gallery_media['fid']);
return $file->filename;
This is working well when i manually save the image node but this doesnt work when i try to upload a image through plupload. Somehow Automatic Entity Label module runs before the file is created by File (Field) Paths module. Maybe it is not related to node gallery module but i didnt know where to put. Thx!
Closed: outdated
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Drupal 7 is no longer supported.
Issue is older than 10 years old.
Closing as outdated.