Author Topic: How to edit ALT tags for thumbnails?  (Read 16344 times)

0 Members and 1 Guest are viewing this topic.

Offline Threnody

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: How to edit ALT tags for thumbnails?
« Reply #15 on: February 20, 2006, 03:20:34 AM »
IcEcReaM,

Thanks for the fix.  I replaced the line of code like you suggested and now the ALT tags display properly on  the main and categories pages as well as the details page.  However, the ALT tags that are displayed for the random images are still wrong even though the thumbnail is modified by the same bit of code as the others.

Here is what it displays:

Quote
Valor Champion submitted by  on 31.12.1969 17:00.

How weird is that?   8O

namste,
Jennifer

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: How to edit ALT tags for thumbnails?
« Reply #16 on: February 20, 2006, 05:54:26 AM »
Try add above
Code: [Select]
$image_info_submission = $lang['user_name_image_submission']. $image_row['user_name']. REPLACE_EMPTY. $lang['image_date_submission']. format_date($config['date_format']." ".$config['time_format'],$image_row['image_date']);This:
Code: [Select]
global $image_row; (might not work properly though)
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Threnody

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: How to edit ALT tags for thumbnails?
« Reply #17 on: February 21, 2006, 04:01:12 PM »
Thanks for the suggestion V@no but you were right, it doesn't work properly. 

I also tried replacing the line below
Code: [Select]
function get_random_image_cache() {
with
Code: [Select]
global $site_db, $cat_cache, $total_images, $image_row, $lang;
That didn't work either.

namaste,
Jennifer