Closed (fixed)
Project:
Webform
Version:
6.x-3.8
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
21 Mar 2011 at 20:03 UTC
Updated:
22 Mar 2011 at 18:41 UTC
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
. 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
Comment #1
quicksketchI'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.
Comment #2
3nd3rth3 commentedThanks 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.