Add possibility to grab image descriptions from txt files
Useful since it can be hard to edit the iptc quickly.
This is great, I was looking for this just a few days ago. (ref. http://getsatisfaction.com/stacey/topics/images_captions-13vahh )
I'll give it a run in my test branch!
Plugged this into my fork, and it works great. The only thing I changed was the variable name associated with this data:
$this->data['@sidecar'] = $descM;
I though "sidecar" was a good indicator of the provenance of the data, and wouldn't interfere with the data coming in from the IPTC.
Hi, i found another way to add descriptions to images here: https://github.com/splendid/stacey/commit/4cc609dc755cc36eb78c71c8ceb6b0656d23b56a I changed the suggested "captions.stacey" to "captions.txt" as it seems more logical.
But, a good solution would be to be able to add captions in the same document as the project.txt with the matching name of the image, or even other assets.
For example in a text you would have:
date: 2011
content:
Lorem Ipsum
image1.jpg:
Caption text
image2.png:
Some text
folder.zip: Some text
etc.
I really wish i knew some php, but i do not know how to do this myself. Anyway good luck with your site.
O