Keyword

EasyImageCaption and K2 - caption apears 3 times...why?

  • marek nowak
  • marek nowak's Avatar Topic Author
  • Offline
  • New Member
More
13 years 5 months ago #96049 by marek nowak
Hi everybody,

 

I'm using joomla 1.5.2, K2 v2.4.1 and the EasyImageCaption plugin - generates captions from images' TITLE or ALT tags in articles and displays them below (or above) the images(extensions.joomla.org/extensions/photos-a-images/articles-images/9105)

In regular joomla article caption works fine but when I use in k2 type of article I get printed three times the same caption.Here is some html code to analyse:<div class="itemFullText"><p><span class="easy_img_caption" style="display:inline-block;line-height:0.5;vertical-align:top;background-color:#F2F2F2;text-align:left;width:320px;float:left;margin: 5px;"><span class="easy_img_caption_inner" style="display:inline-block;line-height:normal;color:#000000;font-size:8pt;font-weight:normal;font-style:italic;padding:4px 8px;margin:0px;">caption from Alt text</span><span class="easy_img_caption" style="display:inline-block;line-height:0.5;vertical-align:top;background-color:#F2F2F2;text-align:left;width:320px;margin:0;"><span class="easy_img_caption_inner" style="display:inline-block;line-height:normal;color:#000000;font-size:8pt;font-weight:normal;font-style:italic;padding:4px 8px;margin:0px;">caption from Alt text</span><span class="easy_img_caption" style="display:inline-block;line-height:0.5;vertical-align:top;background-color:#F2F2F2;text-align:left;width:320px;margin:0;"><span class="easy_img_caption_inner" style="display:inline-block;line-height:normal;color:#000000;font-size:8pt;font-weight:normal;font-style:italic;padding:4px 8px;margin:0px;">caption from Alt text</span><img style=" margin:0;" title="tytuł zdjecia" alt="caption from Alt text" src="/ecosilesia/images/stories/bloczek.jpg" width="300" height="225" /></span></span></span></div>I tried to modify a easyimagecaption.php code but still get double times printed caption on my page.Any hint what to modify in parameters maybe -(I'm using default set of params in easyImagecaption).Thanks for any helpbrucem

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum