file upload - bug with data insert -...
Im currently using the "configure email message" to build a custom email that contains images uploaded by the form. Im then using the data tag within the html to show the image. There however seems to be a small bug that if a file gets uploaded with a space in the file name, the data tag outputs the file name with no spaces creating a missing image. It gets attached fine (with spaces in file name).
Any way i can this fixed?
ta
Dave
Any way i can this fixed?
ta
Dave
Yes simple, do not ever put a space in the name of any file you upload its just asking for trouble. Remove the space from the image and try again I bet it will work 100% of the time.
Taking over the world one website at a time!
Steve Kolish
www.misterwebguy.com
YouTube Channel:
https://www.youtube.com/channel/UCL8qVv … ttneYaMSJA
Steve Kolish
www.misterwebguy.com
YouTube Channel:
https://www.youtube.com/channel/UCL8qVv … ttneYaMSJA
That's not a bug... it's a feature! hahaha for real actually, as it keeps you from putting spaces in your file names which you shouldn't be doing anyways
Use a dash, that's the best way to space your words in file names


if a file gets uploaded with a space in the file name....
That is both a good and bad "feature" that Windows introduced as being more "user friendly" many years ago. "Real computers", however, never allowed spaces, and is a good practice to avoid, in order to make your code play nice on any platform.
My guess is that David does not upload those images with spaces in the names himself, but the end users of his form may do that. It's not so easy to teach everyone 'out there' to avoid spaces in file names.
David, the best thing you can do, I think, is to add a sentence to your form, telling people how to write their file names.
David, the best thing you can do, I think, is to add a sentence to your form, telling people how to write their file names.
Ha en riktig god dag!
Inger, Norway
My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com
Inger, Norway
My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com
I might be totally wrong here, but I thought that the program had transformed the names to be without spaces. Maybe I'm thinking of a different program though, can't remember where that conversation was lol. Some program or another in here does that though, removes the spaces from the names of something.
Its for end users, and unfortunately trusting them to upload files without spaces just is not going to happen.
Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.