4images Forum & Community
4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: akku on August 16, 2002, 12:03:55 PM
-
Erstmals ein grosses Lob an euch!
Nun zu meiner Frage:
Wenn ich 2 sek auf einem Image bleibe wird der Name des Images angezeigt, wie kann ich das ändern, sodass immer der Kategoriename bei allen Bildern angezeigt wird! Dieses müsste doch mit *ALT="{cat_name}"* oder so möglich sein, doch wo muss ich das einfügen?
-
Öffne "includes/functions.php" und ändere:
"thumbnail" => get_thumbnail_code($image_row['image_media_file'], $image_row['image_thumb_file'], $image_row['image_id'], $image_row['cat_id'], $image_row['image_name'], $show_link),
zu
"thumbnail" => get_thumbnail_code($image_row['image_media_file'], $image_row['image_thumb_file'], $image_row['image_id'], $image_row['cat_id'], $image_row['cat_name'], $show_link),
Jan
-
hallo jan,
ist es auch möglich kategorie und bildname anzeigen zu lassen?
etwa so: kategorie/bildname
gruß, alex
-
And when i want to show the images description wat do have to do than
And does this apply to the whole site
-
@ edwin
a solution you can find here : http://www.4homepages.de/forum/index.php?topic=10223.msg50555#msg50555
mawenzi
-
Yes, i've got this, it works on the deatailspage but then it doesn't works on the pictures on the indexpage, they only show the imagename
I don't know where i should change this, if you can help i would be greatfull
demo you can see at my site : http://www.foto-janssen.nl
thanks in advance
-
@ edwin
you mean also the alt-tag for every thumbnail ... and also on index-page ... ?
-
yes if that is possible
-
... Tooltip with {image_name} and {image_description} ...
1. http://www.4homepages.de/forum/index.php?topic=11252.msg58106#msg58106
onmouseover="return escape('{image_name} - {image_description}');"
2. in includes/functions.php -> function get_thumbnail_code
change this :
$thumb = "...... alt=\"".$image_name."\" ....";
to this :
$thumb = "...... alt=\"\" ....";
mawenzi