Hi,

How can I get the node as Image Description rather than file name ?

G

Comments

grove101’s picture

Correction :

How can I get the Node Title as Image Description rather than file name ?

G

grove101’s picture

Status: Active » Closed (fixed)

Done

find

$edit['description'] = basename($file->filename);

replace with

$edit['description'] = $node->title;