Page 1 of 1

Where is alt of image in Phoca?

Posted: 21 Feb 2012, 06:17
by supergone
Hello, I has some troubles.
There is no alt of image in version of Phoca 3.1.5. It must be generate from title, but alt is empty (alt=' ').
In more erlier versions for Joomla 1.5 alt was generated properly, all settings are the same. :evil:
This is link to my galery http://svadba.mari-matte.ru/category/1.html
What can i do to solve a problem?
Thank you

Re: Where is alt of image in Phoca?

Posted: 22 Feb 2012, 00:43
by Jan
Hi, you can set in parameters, which value will be displayed in ALT attribute, see:
https://www.phoca.cz/documents/2-phoca-g ... parameters

Jan

Re: Where is alt of image in Phoca?

Posted: 22 Feb 2012, 14:54
by supergone
Jan, I set in alt parametr value "title" but it does not work. Alt is empty. May it be bug of Phoca 3.1.5?

Re: Where is alt of image in Phoca?

Posted: 26 Feb 2012, 00:41
by Jan
Hi, some image methods cannot use alt because of possible conflict - try to enable modal box to test, if you get the values.

Jan

Re: Where is alt of image in Phoca?

Posted: 07 Mar 2012, 13:55
by pixelhexe
I had the same problem - I am using PhocaGallery 3.1.1 and slimbox and solved it with template override like this:

/templates/[your-templatename]/html/com_phocagallery/category/default_images.php

row 72
echo JHTML::_( 'image.site', $value->linkthumbnailpath, '', '', '', $value->oimgalt, $value->ooverlibclass );

changed to
echo JHTML::_( 'image.site', $value->linkthumbnailpath, '', '', '', $value->altvalue, $value->ooverlibclass );

For me it's ok - but it seems to be a bug?

ansa

Re: Where is alt of image in Phoca?

Posted: 13 Mar 2012, 22:59
by Jan
Hi, this is not a bug, some methods cannot use alt because of conficting with title with is then used in popup :-(

Jan