image description html stripping

Admiror Gallery is free extension for Joomla! based websites. Admiror Gallery is all in one, a simple and instant solution for rendering image gallery from folder with images, but very flexible and adaptable.
Message
Author
AceDZN
Posts: 7
Joined: Sun Mar 13, 2011 12:37 pm

image description html stripping

#1 Post 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:

Admiror Gallery 5 - Fundraising Campaign

User avatar
Vasiljevski
Developer
Developer
Posts: 1258
Joined: Sat Aug 14, 2010 9:31 pm
Location: Novi Sad, Serbia
Contact:

Re: image description html stripping

#2 Post by Vasiljevski »

Hello,

Did you try to turn off, "Plain Text Captions"? You can find this option in components Control Panel.
Help Admiror Gallery become even better,
give us a review on JED

AceDZN
Posts: 7
Joined: Sun Mar 13, 2011 12:37 pm

Re: image description html stripping

#3 Post by AceDZN »

yes. tried that already, it's just stripping all the HTML tags from the input box.

User avatar
kekeljevic
Developer
Developer
Posts: 445
Joined: Tue Aug 17, 2010 2:38 pm
Location: Novi Sad, Serbia
Contact:

Re: image description html stripping

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

AceDZN
Posts: 7
Joined: Sun Mar 13, 2011 12:37 pm

Re: image description html stripping

#5 Post by AceDZN »

thank you very much...
waiting with pleasure...

Admiror Gallery 5 - Fundraising Campaign

User avatar
Vasiljevski
Developer
Developer
Posts: 1258
Joined: Sat Aug 14, 2010 9:31 pm
Location: Novi Sad, Serbia
Contact:

Re: image description html stripping

#6 Post by Vasiljevski »

Hello,

Try the latest version from this link: http://www.vasiljevski.com/forum/viewto ... p=713#p713
Help Admiror Gallery become even better,
give us a review on JED

AceDZN
Posts: 7
Joined: Sun Mar 13, 2011 12:37 pm

Re: image description html stripping

#7 Post 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>")

AceDZN
Posts: 7
Joined: Sun Mar 13, 2011 12:37 pm

Re: image description html stripping

#8 Post by AceDZN »

sorry for the latest post...
now I see that it is working propertly
thank you very very much :)

User avatar
kekeljevic
Developer
Developer
Posts: 445
Joined: Tue Aug 17, 2010 2:38 pm
Location: Novi Sad, Serbia
Contact:

Re: image description html stripping

#9 Post by kekeljevic »

Excellent. I start to blush, because I wrote this part of code :-P .

Admiror Gallery 5 - Fundraising Campaign

AceDZN
Posts: 7
Joined: Sun Mar 13, 2011 12:37 pm

Re: image description html stripping

#10 Post 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

Post Reply