Image_Import should look for a matching .TXT or .HTML file to populate title and description information.

For example:
* When importing "mydog01.jpg", the module should check for a matching file named "mydog01.txt" or "mydog01.html". If found...
* Read the contents of the file to locate tags such as "Rover at the Park" and "

Rover chased those ducks all day.

".
* Use that info to populate the Title and Body fields found in an Image node.

This functionality could be expanded to cover other fields found in the Image node but covering the Title and Body would be plenty useful.
-k²

Comments

drewish’s picture

any idea what part of the .html file should be used? the .txt example makes sense...

banglogic’s picture

No, not really. Only as an alternative to using the .TXT file. Probably best to simply use .TXT and skip the .HTML part altogether.
-k²

drewish’s picture

Status: Active » Closed (won't fix)

i'm gonna say won't fix, i see it being a bit too hard to use.

fronbow’s picture

FWIW I'm working on a module that provides some of this functionality; it handles iptc tags.
It will extract iptc keywords and put them in taxonomy, and use the iptc caption as the node body.

I'm just working out how to make it integrate with the image_import functionality