Page 1 of 2

image description html stripping

Posted: Sun Mar 13, 2011 12:44 pm
by AceDZN
hi there...
I really love the plugin - & been very happy to see the latest update (AG3) - because it was just what I was looking for.
but now...
I need to show a 3 line description under the images - but when I edit the image description thru the imega edit window - the description on the frontend is only 1 line - Tried This also with HTML tags - but the panel is stripping the HTML after the save.
How Can I save this without any HTML stripping?

Sorry For my bad english... :roll:

Re: image description html stripping

Posted: Sun Mar 13, 2011 4:16 pm
by Vasiljevski
Hello,

Did you try to turn off, "Plain Text Captions"? You can find this option in components Control Panel.

Re: image description html stripping

Posted: Sun Mar 13, 2011 4:23 pm
by AceDZN
yes. tried that already, it's just stripping all the HTML tags from the input box.

Re: image description html stripping

Posted: Mon Mar 14, 2011 9:28 am
by kekeljevic
I found a bug in AG and I'll fix it in next release, till the end of the week. Thanks for reporting this.

Re: image description html stripping

Posted: Mon Mar 14, 2011 9:58 am
by AceDZN
thank you very much...
waiting with pleasure...

Re: image description html stripping

Posted: Mon Mar 14, 2011 4:07 pm
by Vasiljevski
Hello,

Try the latest version from this link: http://www.vasiljevski.com/forum/viewto ... p=713#p713

Re: image description html stripping

Posted: Wed Mar 16, 2011 4:58 pm
by AceDZN
Hi there...
Tried the latest update...
now I see that in the image manager when I insert HTML code - it stays there..
But in the frontend its still stripping the html - the result of the frontend source code is:
"<div id="AG_0" class="ag_reseter AG_listed">
<div class="ag_thumb">
<div>
<span class="ag_thumblisted">
<a href="http://doors.hlc.co.il/images/stories/p ... sonal1.jpg" title="fg dfgfddf fgb fgb fgb fgb ffb" class="" rel="lightbox[AdmirorGallery0]" target="_blank">
</span>
</div>
<div>fg dfgfddf fgb fgb fgb fgb ffb</div>
</div>"
(the red quote is the problematic... in the backend it looks like:
" <div>fg dfgfddf <br /></div>
fgb fgb<br />
<br/>
<p> fgb </p>
<p>fgb ffb</p>")

Re: image description html stripping

Posted: Wed Mar 16, 2011 5:22 pm
by AceDZN
sorry for the latest post...
now I see that it is working propertly
thank you very very much :)

Re: image description html stripping

Posted: Thu Mar 17, 2011 10:57 am
by kekeljevic
Excellent. I start to blush, because I wrote this part of code :-P .

Re: image description html stripping

Posted: Thu Mar 17, 2011 11:21 am
by AceDZN
kekeljevic Hi!
tried this yesterday with english description - everything worked fine...
BUT now I try to do this with non-latin characters (hebrew) - & the description is stripping all the text that comes after the first non-latin character...

& I get this error:
"XML Parsing Error at 6:34. Error 26: Undeclared entity error"
before the update - the hebrew charset worked fine (without the rich text options)


hope to get this fixed somehow..
sincerely
Alex