Image description doesn't show html

Phoca Gallery - image gallery extension
arianne
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 27 Feb 2013, 11:23

Image description doesn't show html

Post by arianne »

When I add an image it's possible to fill in an description in a html-editor. But on the website markups like bold aren't shown. In the source code I see plain text.
Is there an option I have to switch on?
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9965
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Image description doesn't show html

Post by Benno »

Hi,
Is there an option I have to switch on?
Yes, there are some settings regarding descriptions in Category View & Detail View.
see: Display https://www.phoca.cz/documents/2-phoca-g ... parameters

Kind regards,
Benno
arianne
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 27 Feb 2013, 11:23

Re: Image description doesn't show html

Post by arianne »

Thanks for the link Benno! In the setting of Phoca I found on the tab Category View the option Display Image Description In Box. I chose the value Yes (In Html) and it worked like a charm.
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9965
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Image description doesn't show html

Post by Benno »

You're welcome!

Kind regards,
Benno
fodinet
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 30 Sep 2013, 11:29

Re: Image description doesn't show html

Post by fodinet »

I have the same problem in detail view. The slimbox shows the description in plain text. I would like to show the description in HTML, like I made it in the admin. Is there any solution?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Image description doesn't show html

Post by Jan »

Hi, some methods do not allow to display html as e.g. they take the description from alt value, etc. and attributes in HTML cannot include html in html :-(

Jan
If you find Phoca extensions useful, please support the project
vAlini
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 19 Apr 2016, 19:28

Re: Image description doesn't show html

Post by vAlini »

Hello,

is this still holding true that i can't place html attributes in "detail view"?
Is there a maybe workaround?

Thank you.

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

Re: Image description doesn't show html

Post by Jan »

Hi, where exactly you want to add HTML. HTML can be displayed in description - in iframe methods but not in some image methods - it depends on used image popup method.

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