- This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
just going to share my code and see if anyone can spot what’s causing this.
The error reads:
“The requested content cannot be loaded.
Please try again later.”
**ShowAll.PHP:**
include_once “db.php”;
session_start();
$gid=$_SESSION;
$result = mysql_query(“SELECT id,groupid FROM images where gid='”.$gid.”‘ and imagetype=’1’ ORDER BY id”);
print(”
“);
print(“
“);
$j++;
}else{
print(“
“);
$j++;
}
}
print(“
“);?>
**largeimage.php:**
print(” “);
?>
**showimagelarge.php:**
include_once “db.php”;
session_start();
$gid=$_SESSION;
header(‘Content-type: image/jpeg’);
$query = “SELECT image from images where groupid=”. intval($_GET[“groupid”]).” and gid='”.$gid.”‘ and imagetype=’2′”;
$rs = mysql_fetch_array(mysql_query($query));
echo base64_decode($rs[“image”]);
?>
**showimage.php:**
include_once “db.php”;
session_start();
$gid=$_SESSION;
header(‘Content-type: image/jpeg’);
$query = “SELECT image from images where id=”. intval($_GET[“id”]).” and gid='”.$gid.”‘”;
$rs = mysql_fetch_array(mysql_query($query));
echo base64_decode($rs[“image”]);
?>
Also, my initialization of FancyBox is:
That error is not produced by the code you posted.
Maybe it’s from fancybox?