Hello Jeremy,
I found that everything works fine on the ipads, by passing directly the environment variables to the src atributte of the img tag . I used to have the practice to assign environment variables to input tags and then recover their values on some javascript function for further processing. Fortunally, in this case I do not process any further the environmet variables.
In other words, this is a work around for this particular case . If I needed some additional processing for the environment variables , I would be in trouble .
I will close this discussion, marking yours as the right solution .
Thanks again Jeremy