forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 plugins => Topic started by: AK_CCM on June 19, 2013, 03:26:46 pm

Title: Text wrapping or line breaks in annotate plugin possible?
Post by: AK_CCM on June 19, 2013, 03:26:46 pm
I've installed the annotate v3.0 plugin and it works fine - thanks a lot to the coders.

But if the text length exceeds a specific number of characters the annotation is displayed in one single line and overlaps all other content instead of an automatic text wrapping. Moreover the background image is only shown up to 250 px wide.

As workaround I tried to use br-tags for line breaks. And as I had hoped the text will be displayed with line breaks after I clicked on the save button. But if I reload the site or enter the url in a browser window no br-tags will be interpreted - just have a look to the attached screenshots.

It would be great if anyone could help me to solve this issue.

Thanks in advance

Best regards,

Andreas
Title: Re: Text wrapping or line breaks in annotate plugin possible?
Post by: AK_CCM on June 19, 2013, 04:28:35 pm
Here you could see the issue live:
http://medien.entoloma.de/displayimage.php?album=47&pid=934#top_display_media
Title: Re: Text wrapping or line breaks in annotate plugin possible?
Post by: Αndré on August 21, 2013, 10:44:27 am
Please have a look at pftq's code contribution (http://forum.coppermine-gallery.net/index.php/topic,60622.msg340833.html#msg340833), which adds a text wrapping feature.