the alt value settings are not working

Before you ask see the Phoca Gallery User Manual
bendeguz
Phoca Member
Phoca Member
Posts: 12
Joined: 04 May 2013, 09:27

the alt value settings are not working

Postby bendeguz » 17 May 2013, 18:57

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

Postby bendeguz » 20 May 2013, 19:18

I have tried everything, but it is still not working. :x

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

Re: the alt value settings are not working

Postby Jan » 25 May 2013, 00:32

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

Postby bendeguz » 30 May 2013, 16:10

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

Postby bendeguz » 01 Jun 2013, 07:06

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: 36693
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: the alt value settings are not working

Postby Jan » 06 Jun 2013, 00:21

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

Postby bendeguz » 22 Aug 2013, 15:07

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: 36693
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: the alt value settings are not working

Postby Jan » 23 Aug 2013, 18:37

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

Postby Koyocik » 13 Sep 2013, 19:00

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: 36693
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: the alt value settings are not working

Postby Jan » 19 Sep 2013, 23:26

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


Return to “Phoca Gallery”

Who is online

Users browsing this forum: Bing [Bot] and 2 guests