Hagen-Roderich - thanx, that worked for my thumbs all right, bt still problems with the images themselves
V@no - I also thought it should work, but...
Well, in my /templates/default/media/jpg.html
I put the following:
<img src="{media_src}" border="1" alt="{cat_name} - {image_name}"{width_height} />
But I get just " - image name" Alt now.
But I`ve noticed, that if I change the sequense of code snippets here:
"image" => get_media_code($image_row['image_media_file'], $image_row['image_id'], $image_row['cat_id'], $image_row['image_name'], $image_row['cat_name'], $mode, $show_link, $detailed_view),
(in includes/functions.php)
lke that:
"image" => get_media_code($image_row['image_media_file'], $image_row['image_id'], $image_row['cat_id'], $image_row['cat_name'], $image_row['image_name'], $mode, $show_link, $detailed_view),
then I get just category name in my ALT
for example: "category name - " , that is without the name of the image already...
Is it possible to have both of them ?
ADDED: solved!
Just needed to add "cat_name" => $cat_name,
to the: $site_template->register_vars(array(
list