Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
read metadata form IPTC IIM properties if present #6
when uploading images it would be a nice feature to read the embedded IPTC IIM metadata if it's present.
we only need to do this for the title, description and creator fields; some other fields could be server-side processed if needed using the unweb.iptc package.
You might want to also check collective.filemeta - it's developed to provide a common mechanism for automatic copying over metadata (and thumbnail/cover -> lead image) from various kinds of uploaded files to Plone content. While my immediate use case was MS Office and PDF documents (hence the package naming), it is and will be document/file type agnostic.
I just tried assigning the "Metadata from file" (provided by collective.filemeta) and "Lead image" behaviors to a (plone.app.contenttypes) File on Plone4 and then uploading Office docs & PDFs using collective.upload - worked like a charm with metadata & cover image copied over to Plone content :) Thanks for developing such a nice uploader!