the alt value settings are not working

Phoca Gallery - image gallery extension
bendeguz
Phoca Member
Phoca Member
Posts: 12
Joined: 04 May 2013, 09:27

the alt value settings are not working

Post 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
bendeguz
Phoca Member
Phoca Member
Posts: 12
Joined: 04 May 2013, 09:27

Re: the alt value settings are not working

Post by bendeguz »

I have tried everything, but it is still not working. :x
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: the alt value settings are not working

Post 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?
If you find Phoca extensions useful, please support the project
bendeguz
Phoca Member
Phoca Member
Posts: 12
Joined: 04 May 2013, 09:27

Re: the alt value settings are not working

Post 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!
bendeguz
Phoca Member
Phoca Member
Posts: 12
Joined: 04 May 2013, 09:27

Re: the alt value settings are not working

Post 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.

:(
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: the alt value settings are not working

Post by Jan »

Hi, then you need to remove the title directly in the php code :-(

Jan
If you find Phoca extensions useful, please support the project
bendeguz
Phoca Member
Phoca Member
Posts: 12
Joined: 04 May 2013, 09:27

Re: the alt value settings are not working

Post by bendeguz »

Hi Jan! Thanks for answer... Can I have one more question?

In which files precisely and what lines should I change?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: the alt value settings are not working

Post 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
If you find Phoca extensions useful, please support the project
Koyocik
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 13 Sep 2013, 18:50

Re: the alt value settings are not working

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: the alt value settings are not working

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply