I've been trying to work this out with Webform, and MIMEmail, but I still don't know if it's actually possible. The issue is, I would like to generate thumbnails in the e-mail from the files attached to the form by the submitters. The thing is, I can't use $value[key] in quotes, which disallows me to call Only local images are allowed.. Is anybody aware of a workaround? If not, would this be a reasonable feature to request? Also, if this is a duplicate post or in the wrong place, could you point me to the right place or post? I've been searching for about 2 hours and while I've found many topics on embedding images already existent, I've found none on embedding images being submitted on the form.

Comments

quicksketch’s picture

I'd suggest you take a look at ImageCache module and use its API functions (imagecache_create_url()), to assemble the path to a thumbnail on your server. Since you're using MIME Mail, you could simply make an IMG tag that points to this thumbnail that would be created on-the-fly on your server. Unfortunately this request is rather out of scope for the Webform issue queue, since as the submission guidelines stated when you created this request, I do not help with custom coding questions.

3nd3rth3’s picture

Status: Active » Closed (fixed)

Thanks for the idea. It got me thinking about it differently and to another conclusion that worked. I was able to do what I wanted integrating MIME Mail and the Webform Rules module with Webform. Worked like a charm.