You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi ,
I am using html files inside my native IOS app with jockeyjs. I am trying to load images from native app's storage, after loading the html page using jockeyjs. In this case I am pushing image names in json to html page. HTML files and images are in same directory.
Hi ,
I am using html files inside my native IOS app with jockeyjs. I am trying to load images from native app's storage, after loading the html page using jockeyjs. In this case I am pushing image names in json to html page. HTML files and images are in same directory.
HTML before Image Loading
<html>
<head>
<meta charset="UTF-8">
<script src="jquery.js"></script>
<script src="jockey.js"></script>
<script>
Jockey.on("load_image",function(CONTENT){
var img_src = CONTENT.image;
$(".image-div").append("<img src=\""+img_src+"\" />");
});
</script>
</head>
<body>
<div class="image-div"></div>
</body>
</html>
HTML after Image Loading
<html>
<head>
<meta charset="UTF-8">
<script src="jquery.js"></script>
<script src="jockey.js"></script>
<script>
Jockey.on("load_image",function(CONTENT){
var img_src = CONTENT.image;
$(".image-div").append("<img src=\""+img_src+"\" />");
});
</script>
</head>
<body>
<div class="image-div">
<img src="test_image.jpg" />
</div>
</body>
</html>
But the Image is not getting displayed on page.
The text was updated successfully, but these errors were encountered: