eon
12-21-2005, 12:24 PM
After you edit a thumbnail in "Images" you are kick back to "New image" instead of "Images".
I have solved this problem in my modification (http://www.pixelpost.org/v1/index.php?x=downloads&details=131).
File: 12cropimageincscripts.php. After this code,
$cfgrow = mysql_fetch_array($cfgquery);
put this code:
//url kicker
if (!empty($_GET['view'])){
$url="?view=".$_GET['view'];
}
and ~row 69 this code:
var url = '?x=12cropthumb&kickto=".$url.
So it will pickup a part of the url and pass it through.
File: 12cropimageinc.php. After this row
$file = $_GET['filename'];
this code:
$kickto = $_GET['kickto'];
and ~row 43
header("Location: index.php".$kickto);
So it will catch the part of the url ans place it behind the url.
Now you will always return from were you came from.
I have solved this problem in my modification (http://www.pixelpost.org/v1/index.php?x=downloads&details=131).
File: 12cropimageincscripts.php. After this code,
$cfgrow = mysql_fetch_array($cfgquery);
put this code:
//url kicker
if (!empty($_GET['view'])){
$url="?view=".$_GET['view'];
}
and ~row 69 this code:
var url = '?x=12cropthumb&kickto=".$url.
So it will pickup a part of the url and pass it through.
File: 12cropimageinc.php. After this row
$file = $_GET['filename'];
this code:
$kickto = $_GET['kickto'];
and ~row 43
header("Location: index.php".$kickto);
So it will catch the part of the url ans place it behind the url.
Now you will always return from were you came from.