Is there a way for a user to submit a photo or file through a Lectora course?

I assume this isn't possible with Lectora on it's own. To receive test results (we don't have an LMS), we use a custom script (VBScript) to send an email. I have also used the same script, but with forms, to create surveys that users fill out . Anyway, now someone asked to have these forms let someone submit photos. I told them I don't think that is possible, but I would ask just in case. So, has anyone figured out a way to do this?

Discussion (4)

Very interesting request! I don't think I've seen a conversation floating around in the Community about this but I'll do some poking. I'll be curious to see the answer as well. Can you share a little bit more about the nature of the request so I can get idea of what you're trying to accomplish? I immediately went to a safety course where someone was required to submit a photo of an issue before receiving credit.

Well, the nature of this is kind of mundane. We just want users to tell us what kind of camera they have and submit 3 photos so we can see whether their camera produces quality photos.

However, potentially I would love to have this in our training as we are teaching people how to take properly framed photos. It would be nice to grade them on this.

Another potential use is that our training teaches people to identify different styles of homes. No matter how many examples we show, some still don't get it. It would be nice to ask them to go out and take photos of homes that they think fit these styles. If they could go out and identify these then submit those in an unscored test, it might help them understand these concepts.

We also teach people how to draw a diagram. It would be great if they could submit examples.

There is no native way, but a simple HTML extension object with some form code copied from the web should do the trick. You'll need to be a bit familiar with JavaScript and server side scripting, but it should be able to do what you are looking for.

Here's a solution that is fairly easy to apply. This will allow the upload of a picture to your server formatted as (.gif, .jpeg, .jpg, .pjpeg, x-png, .png) under 200000kb (200mb). This will not work locally unless you have a local server like xampp installed. It must be uploaded onto a server to function. While I normally do not suggest using the Meta tags html extension to include scripts I will here because it is easier to implement and explain and works fine.

Open your Lectora project and right under the title add an HTML Extension. Go to its properties and select Meta tags. Then click Edit and insert the following code:

Discussions have been disabled for this post