fixed images not loading due to ssl
This commit is contained in:
parent
7602e9f7ae
commit
5f9ea5f358
@ -5,7 +5,7 @@
|
|||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>Fabrika Hrádek Tour</title>
|
<title>Fabrika Hrádek Tour</title>
|
||||||
<link rel="icon" type="image/x-icon" href="http://109.123.243.163/fht/favicon.ico">
|
<link rel="icon" type="image/x-icon" href="/fht/favicon.ico">
|
||||||
|
|
||||||
<meta name="author" content="Smejkal, Suljakovic, Somr">
|
<meta name="author" content="Smejkal, Suljakovic, Somr">
|
||||||
<meta name="description" content="Průvodce Hrádeckou Fabrikou">
|
<meta name="description" content="Průvodce Hrádeckou Fabrikou">
|
||||||
|
@ -22,7 +22,7 @@ if ($out -> num_rows != 1)
|
|||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<link rel="icon" type="image/x-icon" href="http://109.123.243.163/fht/favicon.ico">
|
<link rel="icon" type="image/x-icon" href="/fht/favicon.ico">
|
||||||
|
|
||||||
<meta name="author" content="Smejkal, Suljakovic, Somr">
|
<meta name="author" content="Smejkal, Suljakovic, Somr">
|
||||||
<meta name="description" content="Průvodce Hrádeckou Fabrikou">
|
<meta name="description" content="Průvodce Hrádeckou Fabrikou">
|
||||||
|
@ -7,7 +7,7 @@ session_start();
|
|||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<link rel="icon" type="image/x-icon" href="http://109.123.243.163/fht/favicon.ico">
|
<link rel="icon" type="image/x-icon" href="/fht/favicon.ico">
|
||||||
|
|
||||||
<meta name="author" content="Smejkal, Suljakovic, Somr">
|
<meta name="author" content="Smejkal, Suljakovic, Somr">
|
||||||
<meta name="description" content="Průvodce Hrádeckou Fabrikou">
|
<meta name="description" content="Průvodce Hrádeckou Fabrikou">
|
||||||
|
4
map.html
4
map.html
@ -5,7 +5,7 @@
|
|||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>Fabrika Hrádek Tour</title>
|
<title>Fabrika Hrádek Tour</title>
|
||||||
<link rel="icon" type="image/x-icon" href="http://109.123.243.163/fht/favicon.ico">
|
<link rel="icon" type="image/x-icon" href="/fht/favicon.ico">
|
||||||
|
|
||||||
<meta name="author" content="Smejkal, Suljakovic, Somr">
|
<meta name="author" content="Smejkal, Suljakovic, Somr">
|
||||||
<meta name="description" content="Průvodce Hrádeckou Fabrikou">
|
<meta name="description" content="Průvodce Hrádeckou Fabrikou">
|
||||||
@ -20,7 +20,7 @@
|
|||||||
<body>
|
<body>
|
||||||
<button id="back_button" onclick="move('./index.php', true)">⇽</button>
|
<button id="back_button" onclick="move('./index.php', true)">⇽</button>
|
||||||
<div class="imgbox">
|
<div class="imgbox">
|
||||||
<img class="center-fit" src="http://109.123.243.163/fht/map.jpg" alt="Satelitní snímek železáren">
|
<img class="center-fit" src="/fht/map.jpg" alt="Satelitní snímek železáren">
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@ -32,7 +32,7 @@
|
|||||||
(
|
(
|
||||||
"<div class=\"post\">" +
|
"<div class=\"post\">" +
|
||||||
"<div class=\"post_image\">" +
|
"<div class=\"post_image\">" +
|
||||||
"<img src=\"" + "http://109.123.243.163/user_content/" + result[i].author + "/" + result[i].photo_id + "\"></img>" +
|
"<img src=\"" + "/user_content/" + result[i].author + "/" + result[i].photo_id + "\"></img>" +
|
||||||
"</div>" +
|
"</div>" +
|
||||||
|
|
||||||
"<div class=\"post_info\">" +
|
"<div class=\"post_info\">" +
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
body
|
body
|
||||||
{
|
{
|
||||||
background: url("http://109.123.243.163/fht/background_downscaled.jpg") no-repeat center center fixed;
|
background: url("/fht/background_downscaled.jpg") no-repeat center center fixed;
|
||||||
-webkit-background-size: cover;
|
-webkit-background-size: cover;
|
||||||
-moz-background-size: cover;
|
-moz-background-size: cover;
|
||||||
-o-background-size: cover;
|
-o-background-size: cover;
|
||||||
|
@ -19,7 +19,7 @@ function change_slideshow_img()
|
|||||||
last_index = 0;
|
last_index = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
document.getElementById("slideshow").src = "http://109.123.243.163/fht/fabrika_imgs/downscaled/" + imgs_index[last_index++] + ".jpg";
|
document.getElementById("slideshow").src = "/fht/fabrika_imgs/downscaled/" + imgs_index[last_index++] + ".jpg";
|
||||||
}
|
}
|
||||||
|
|
||||||
function repeat_panorama()
|
function repeat_panorama()
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
body
|
body
|
||||||
{
|
{
|
||||||
background: url("http://109.123.243.163/fht/fabrika_imgs/downscaled/23.jpg") no-repeat center center fixed;
|
background: url("/fht/fabrika_imgs/downscaled/23.jpg") no-repeat center center fixed;
|
||||||
-webkit-background-size: cover;
|
-webkit-background-size: cover;
|
||||||
-moz-background-size: cover;
|
-moz-background-size: cover;
|
||||||
-o-background-size: cover;
|
-o-background-size: cover;
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<link rel="icon" type="image/x-icon" href="http://109.123.243.163/fht/favicon.ico">
|
<link rel="icon" type="image/x-icon" href="/fht/favicon.ico">
|
||||||
|
|
||||||
<meta name="author" content="Smejkal, Suljakovic, Somr">
|
<meta name="author" content="Smejkal, Suljakovic, Somr">
|
||||||
<meta name="description" content="Průvodce Hrádeckou Fabrikou">
|
<meta name="description" content="Průvodce Hrádeckou Fabrikou">
|
||||||
|
@ -130,6 +130,6 @@ function check_param()
|
|||||||
open("../index.php", "_self");
|
open("../index.php", "_self");
|
||||||
}
|
}
|
||||||
|
|
||||||
img_url = 'http://109.123.243.163/fht/fabrika_imgs/downscaled/' + img_url + '.jpg'; //TODO: Change
|
img_url = '/fht/fabrika_imgs/downscaled/' + img_url + '.jpg'; //TODO: Change
|
||||||
if (!x.startsWith(undefined)) ASPECT_RATIO = x / y;
|
if (!x.startsWith(undefined)) ASPECT_RATIO = x / y;
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user