Hi, I want to show a number of images based on the condition that a user selected specific choices on a number of questions. The number of images is a lot (it is around 200,000) My solution is to do it based on scoring. I will set the scoring of selecting option 1 in question 1 to be 1 then option 2 in question 1 to be 10 and increase it until around 10^26. For example, if the score at the point I want to show the image is 1001011 it means that they selected options 1 and 2 in question 1 and option 1 in question 2, and option 2 in question 3. Now I have a web hosting that I can refer to the image by url.com/1001011.jpg how I do it is by using piped text and accessing scoring.
My first question is, is there any way to do it in a better way?
My second question is, since the number of options are a lot, it shows it like 1.000 e+22 at this point which doesn't let me access my images. How can I print the complete score?
Page 1 / 1
Create an external webservice which will accept the recode values of the questions and return the specific image url.
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.