- status: open --> open-accepted
Install scripts are not updating db.inc.php (0.1 and 0.
1.1)
After installing and configuring with the install
scripts, db.inc.php needs to be edited to change DB
data to meet needs:
$conn['server'] = "localhost";
$conn['user'] = "xyz";
$conn['pass'] = "xyz";
$conn['bd'] = "xyz";
---
Comments:
- Email address in comments should (or must!) be
optional!
- Admin should be able to delete photos and comments
from the admin interface, otherwise you need to delete
them from the SQL tables and the picture files
separately.
- Bug: you cannot use the ' char in descriptions or
comments, you get a DB error.
- Bug?: comments and descriptions show diferent lines
sticked all toghether.
- Request: some html code available in details and
comments? at least hyperlinks...
- I suggest to change "imagecopyresized" to
"imagecopyresampled" to get a GREAT quality gain.
- Images use to get abnormal with the resizing and
looks ugly, you can keep aspect ratios editing
pujafoto.php:
$mides = getimagesize($original);
$src_x = $mides[0];
$src_y=$mides[1];
if($src_x>$src_y) //apaisado
{
$ICONA_X=96;
$ICONA_Y=$src_y * 96 / $src_x;
$PHOTO_X=640;
$PHOTO_Y=$src_y * 640 / $src_x;
}
else if($src_x<$src_y) //vertical
{
$ICONA_X=$src_x * 96 / $src_y;
$ICONA_Y=96;
$PHOTO_X=$src_x * 640 / $src_y;
$PHOTO_Y=640;
}
else //quadrada
{
$ICONA_X=96;
$ICONA_Y=$src_y * 96 / $src_x;
$PHOTO_X=640;
$PHOTO_Y=$src_y * 640 / $src_x;
- Spanish translation could be better. I'm from
argentina. Maybe I can help you out with that if you
wish.
- request: can you add a *.zip version to be
downloaded? would be nice. Winrar reports an extracting
error (from tkpholog.tar.gz) ("install dir already
exists, overwrite?")
Nice script... needs lots of tweaking to make it work
but looks nice. Keep up the good work!