Dealing with attachments for this kind of purpose is tricky for a couple of reasons:
Sometimes the attachments are inline and sometimes they are not. It depends on the mail client and the sophistication of the the user.
Mail clients aren’t obligated to retain the file names, most do but some don’t.
Mail clients can reorder the attachments so that what appears to be the first attachment is really the third.
Sometimes the user isn’t aware that there are inline images (think emojis) which makes it difficult for them to understand how many attachments there are.
One way to solve the issue is to add copyright info to the user profile then either add the caption as the emails come in via a Postie AddOn or have the theme do the work when the page is rendered.
If the copyright info isn’t specific to the sender you could consider requiring a single image per email with copyright info in a shortcode.
See http://postieplugin.com/extending/ for more information on creating Postie AddOns.
Thread Starter
Anonymous User 14514246
(@anonymized-14514246)
Hi thank you very much for your answer. I think that the simplest thing to do is to ask them to embed copyright info in the photo itself. I will ask my authors to do this. Maybe you could make this possible in some of the future updates (like you made categories possible with the [] )
Thanks for making such a good plugin btw!
This could be easily extracted from the photo. Do people typically use XMP, EXIF or IPTC for caption/description metadata?
Thread Starter
Anonymous User 14514246
(@anonymized-14514246)
Unfortunately no. I think that the large majority of people that use this plugin, or to be more precise: for which this plugin is installed, are not advanced users. I installed it on my website for example to make it easier to elderly contributors to submit their articles.
Again thank you so much for developing such a great plugin!