Author Topic: Bildbeschreibung ändern (ALT="")  (Read 6813 times)

0 Members and 1 Guest are viewing this topic.

Offline akku

  • Pre-Newbie
  • Posts: 5
    • View Profile
Bildbeschreibung ändern (ALT="")
« 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?

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Bildbeschreibung ändern (ALT="")
« Reply #1 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
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

multipass

  • Guest
Re: Bildbeschreibung ändern (ALT="")
« Reply #2 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

Offline edwin

  • Full Member
  • ***
  • Posts: 199
    • View Profile
    • http://www.foto-janssen.nl
Re: Bildbeschreibung ändern (ALT="")
« Reply #3 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

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Bildbeschreibung ändern (ALT="")
« Reply #4 on: December 06, 2005, 03:47:58 PM »
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline edwin

  • Full Member
  • ***
  • Posts: 199
    • View Profile
    • http://www.foto-janssen.nl
Re: Bildbeschreibung ändern (ALT="")
« Reply #5 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

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Bildbeschreibung ändern (ALT="")
« Reply #6 on: December 06, 2005, 04:20:34 PM »
@ edwin

you mean also the alt-tag for every thumbnail ... and also on index-page ... ?
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline edwin

  • Full Member
  • ***
  • Posts: 199
    • View Profile
    • http://www.foto-janssen.nl
Re: Bildbeschreibung ändern (ALT="")
« Reply #7 on: December 06, 2005, 04:21:05 PM »
yes if that is possible

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Bildbeschreibung ändern (ALT="")
« Reply #8 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
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...