Page 1 of 1

the alt value settings are not working

Posted: 17 May 2013, 18:57
by bendeguz
Hi Jan

In the Phoca Gallery Parameters in the General settings when I set the "alt value" to whatever value, always the image title appears at the mousover in Category view. Even if I set "empty".

I wish to see the "description", as alt tag. I added description to all the images in the gallery. I deleted the cache, upgraded the phoca gallery, but nothing have helped.

The images are on the server, there is no external source, no Picassa, no Facebook.

The situation is the same in the component and in the plugin, only the "title" appears…

How can I solve the problem? Where can I check it maybe in the code, or in the database tables, to see where is the problem?



Phoca Gallery 3.2.3
Joomla 2.5
Artisteer template

First I suspected the template, but even with the default beez template it doesn't work.

thanks for the answer

Re: the alt value settings are not working

Posted: 20 May 2013, 19:18
by bendeguz
I have tried everything, but it is still not working. :x

Re: the alt value settings are not working

Posted: 25 May 2013, 00:32
by Jan
Hmmm, if you see directly the html code, are you able to see the alt values you set? If you change to some other detail window method, is this still the same?

Re: the alt value settings are not working

Posted: 30 May 2013, 16:10
by bendeguz
Hi Jan!

I tried more detail windows, for example no popup, and it does not work.

I can't see the alt value in html code:

Image


thanks for the answer!

Re: the alt value settings are not working

Posted: 01 Jun 2013, 07:06
by bendeguz
Sorry, I see the alt value in html code, but what I see is the title and this is what I don't want to see.

:(

Re: the alt value settings are not working

Posted: 06 Jun 2013, 00:21
by Jan
Hi, then you need to remove the title directly in the php code :-(

Jan

Re: the alt value settings are not working

Posted: 22 Aug 2013, 15:07
by bendeguz
Hi Jan! Thanks for answer... Can I have one more question?

In which files precisely and what lines should I change?

Re: the alt value settings are not working

Posted: 23 Aug 2013, 18:37
by Jan
HI, see:
components/com_phocagallery/views/category/tmpl/ ... and it can be stored in different files here, depending on version - see the default_images.php etc.

Jan

Re: the alt value settings are not working

Posted: 13 Sep 2013, 19:00
by Koyocik
I've found a workaround, works for me:
1. go to components/com_phocagallery/views/category
2. edit file view.html.php
3. Change line 1698
from
$imgTitle = $items[$iS]->title;
to
$imgTitle = '';

HTH, greets.

Re: the alt value settings are not working

Posted: 19 Sep 2013, 23:26
by Jan
Ok