4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: akku on August 16, 2002, 12:03:55 PM

Title: Bildbeschreibung ändern (ALT="")
Post 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?
Title: Bildbeschreibung ändern (ALT="")
Post by: Jan on August 16, 2002, 02:06:58 PM
Öffne "includes/functions.php" und ändere:

Code: [Select]
"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
Code: [Select]
"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
Title: Re: Bildbeschreibung ändern (ALT="")
Post by: multipass on December 06, 2005, 12:17:14 AM
hallo jan,

ist es auch möglich kategorie und bildname anzeigen zu lassen?
etwa so: kategorie/bildname

gruß, alex
Title: Re: Bildbeschreibung ändern (ALT="")
Post by: edwin on December 06, 2005, 03:33:56 PM
And when i want to show the images description wat do have to do than
And does this apply to the whole site
Title: Re: Bildbeschreibung ändern (ALT="")
Post by: mawenzi on December 06, 2005, 03:47:58 PM
@ edwin

a solution you can find here : http://www.4homepages.de/forum/index.php?topic=10223.msg50555#msg50555

mawenzi
Title: Re: Bildbeschreibung ändern (ALT="")
Post by: edwin on December 06, 2005, 03:58:24 PM
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
Title: Re: Bildbeschreibung ändern (ALT="")
Post by: mawenzi on December 06, 2005, 04:20:34 PM
@ edwin

you mean also the alt-tag for every thumbnail ... and also on index-page ... ?
Title: Re: Bildbeschreibung ändern (ALT="")
Post by: edwin on December 06, 2005, 04:21:05 PM
yes if that is possible
Title: Re: Bildbeschreibung ändern (ALT="")
Post by: mawenzi on January 22, 2006, 12:34:54 AM
... Tooltip with {image_name} and {image_description} ...

1. http://www.4homepages.de/forum/index.php?topic=11252.msg58106#msg58106
Code: [Select]
onmouseover="return escape('{image_name} - {image_description}');"

2. in includes/functions.php -> function get_thumbnail_code
change this :
Code: [Select]
$thumb = "...... alt=\"".$image_name."\" ....";
to this :
Code: [Select]
$thumb = "...... alt=\"\" ....";

mawenzi