Bug fix from images
parent
a00b2a7d28
commit
22e1dd3387
|
|
@ -123,10 +123,10 @@
|
||||||
if ($x[0] > 500) {
|
if ($x[0] > 500) {
|
||||||
$photoPath = $conf->urlGelato."/classes/imgsize.php?w=500&img=".$register["url"];
|
$photoPath = $conf->urlGelato."/classes/imgsize.php?w=500&img=".$register["url"];
|
||||||
} else {
|
} else {
|
||||||
$photoPath = $register["url"];
|
$photoPath = str_replace("../", $conf->urlGelato."/", $register["url"]);
|
||||||
}
|
}
|
||||||
|
|
||||||
$effect = " onclick=\"Lightbox.show('".$register["url"]."', '".strip_tags($register["description"])."');\" ";
|
$effect = " onclick=\"Lightbox.show('".str_replace("../", $conf->urlGelato."/", $register["url"])."', '".strip_tags($register["description"])."');\" ";
|
||||||
|
|
||||||
$input = array("{Date_Added}", "{Permalink}", "{PhotoURL}", "{PhotoAlt}", "{Caption}", "{Effect}", "{URL_Tumble}");
|
$input = array("{Date_Added}", "{Permalink}", "{PhotoURL}", "{PhotoAlt}", "{Caption}", "{Effect}", "{URL_Tumble}");
|
||||||
$output = array($formatedDate, $permalink, $photoPath, strip_tags($register["description"]), $register["description"], $effect, $conf->urlGelato);
|
$output = array($formatedDate, $permalink, $photoPath, strip_tags($register["description"]), $register["description"], $effect, $conf->urlGelato);
|
||||||
|
|
@ -213,11 +213,10 @@
|
||||||
if ($x[0] > 500) {
|
if ($x[0] > 500) {
|
||||||
$photoPath = $conf->urlGelato."/classes/imgsize.php?w=500&img=".$register["url"];
|
$photoPath = $conf->urlGelato."/classes/imgsize.php?w=500&img=".$register["url"];
|
||||||
} else {
|
} else {
|
||||||
//$photoPath = $register["url"];
|
|
||||||
$photoPath = str_replace("../", $conf->urlGelato."/", $register["url"]);
|
$photoPath = str_replace("../", $conf->urlGelato."/", $register["url"]);
|
||||||
}
|
}
|
||||||
|
|
||||||
$effect = " onclick=\"Lightbox.show('".$register["url"]."', '".strip_tags($register["description"])."');\" ";
|
$effect = " onclick=\"Lightbox.show('".str_replace("../", $conf->urlGelato."/", $register["url"])."', '".strip_tags($register["description"])."');\" ";
|
||||||
|
|
||||||
$input = array("{Date_Added}", "{Permalink}", "{PhotoURL}", "{PhotoAlt}", "{Caption}", "{Effect}", "{URL_Tumble}");
|
$input = array("{Date_Added}", "{Permalink}", "{PhotoURL}", "{PhotoAlt}", "{Caption}", "{Effect}", "{URL_Tumble}");
|
||||||
$output = array($formatedDate, $permalink, $photoPath, strip_tags($register["description"]), $register["description"], $effect, $conf->urlGelato);
|
$output = array($formatedDate, $permalink, $photoPath, strip_tags($register["description"]), $register["description"], $effect, $conf->urlGelato);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue