Insert Web Images Controlled by User Input Variable

Dec 21, 2017

I have a question about course customization. Our users have profile images stored on our internal server, and the path to the image is standard for each user. I wanted to include the current user profile image on the SL game scoreboard, but I'm stumped on how to get that into the system.

Issue 1: Profile pics are stored at https://path.com/images/userID.jpg 

I can require users to provide their userID as a variable, but I am stumped on how to get the variable into the image path.  https://path.com/images/[VARIABLEINPUT].jpg

Issue 2: Is it possible to pull in a web image so that it loads once the user gets to those screens?

I think it would be a nice touch to incorporate that into the dashboard.

Thoughts on how to pull this together? I've scoured the web, and I haven't seen it in action. It may mean that SL doesn't support this.

1 Reply
Nicole Legault

Hi Steve, 

How many users/images are there? Because the easiest method could be to insert all of the images directly into your course. But of course, depending on how many potential users there are this could become quite a big undertaking,depending on the amount of people.  Also, it would have to be updated to add new employees when they come on board... Although, even if you didn't import the images directly into the storyline course, you probably would have to update the course every time there's a new employee so that storyline knows which image to pull in for each person. So it could take a lot of maintenance and upkeep down the road to pull this off, regardless of how you do this. 

In any case, I don't think you'll be able to do this using Storyline's default functionality (unless you bring in all the images, as i mentioned above), would probably require some javascript code be executed somewhere along the way. 

This discussion is closed. You can start a new discussion or contact Articulate Support.