Well you gave me a good idea [GauGau thanks]
How can i eliminate the part of the displayimage.php that pulls information from the db
like the keywords
GauGau once just checked out a cached page from google and showed me my picture keywords in the image page
How can i take those parts out so it will not pull out so many things out of the database special all keywords related things
Open "displayimage.php"
Search:
if ($CURRENT_PIC_DATA['keywords']) { $meta_keywords = "<meta name=\"keywords\" content=\"".$CURRENT_PIC_DATA['keywords']."\"/>"; }
and replace it with:
// if ($CURRENT_PIC_DATA['keywords']) { $meta_keywords = "<meta name=\"keywords\" content=\"".$CURRENT_PIC_DATA['keywords']."\"/>"; }
if you don't want to show keywords on picture information, then search:
if ($CURRENT_PIC_DATA['keywords'] != "") {
$info[$lang_picinfo['Keywords']] = '<span class="alblink">' . preg_replace("/(\S+)/", "<a href=\"thumbnails.php?album=search&search=\\1\">\\1</a>" , $CURRENT_PIC_DATA['keywords']) . '</span>';
}
and replace it with
/*
if ($CURRENT_PIC_DATA['keywords'] != "") {
$info[$lang_picinfo['Keywords']] = '<span class="alblink">' . preg_replace("/(\S+)/", "<a href=\"thumbnails.php?album=search&search=\\1\">\\1</a>" , $CURRENT_PIC_DATA['keywords']) . '</span>';
}
*/
thanks a lot
i guess the keywords still work it only does not show them right ?