test
Viewing 1 post (of 1 total)
  • Author
    Posts
  • fiumeciane Friend
    #144343

    I bought additional plugins to extend JCE’s abilities (file manager, media manager, caption, ecc.).

    When you enter a caption, this is seen in frontpage. (see figure)

    It ‘a big problem and please help me.

    Now I have removed all the images caption

    [/URL]

    [/URL]

    The problem is this:

    The Caption plugin creates captions using additional html, two nested div elements, around the image and this is saved with the article after editing.

    In my case the module that creates the frontend news intros uses part of the article, which may contain that caption html. It looks like it resizes the image too, but as the caption div has a width value based on the original size of the image it was created on, this width isn’t changed when the images is.

    Example Html code without caption div:

    <div class=”jazin-contentwrap”>
    <div class=”jazin-content clearfix”>
    <img alt=”Ennesima strage a Kabul. Il COISP: “Se è guerra ditecelo!”” src=”/images/resized/images/stories/immagini/maccari_80_52.jpg”/>
    <h4 class=”jazin-title”>
    <a title=”Ennesima strage a Kabul. Il COISP: “Se è guerra ditecelo!”” href=”/polizia-di-stato/97-polizia-di-stato/408-ennesima-strage-a-kabul-il-coisp-se-e-guerra-ditecelo.html”>Ennesima strage a Kabul. Il COISP: “Se è guerra ditecelo!”</a>
    </h4>
    <span style=”font-family: georgia,palatino;”>
    <span style=”font-size: 10pt;”> Roma, 17 set – “La sensazione di profondo dolore che mi attanaglia per la scomparsa di se… </span>
    </span>
    </div>
    </div>
    </div>

    Example Html code with caption div:

    <div class=”jazin-contentwrap”>
    <div class=”jazin-content clearfix”>
    <img alt=”Ennesima strage a Kabul. Il COISP: “Se è guerra ditecelo!”” src=”/images/resized/images/stories/immagini/maccari_80_52.jpg”/>
    <h4 class=”jazin-title”>
    <a title=”Ennesima strage a Kabul. Il COISP: “Se è guerra ditecelo!”” href=”/polizia-di-stato/97-polizia-di-stato/408-ennesima-strage-a-kabul-il-coisp-se-e-guerra-ditecelo.html”>Ennesima strage a Kabul. Il COISP: “Se è guerra ditecelo!”</a>
    </h4>
    <div class=”jce_caption” style=”margin: 5px; width: 298px; float: left; display: inline-block;”>
    <div style=”text-align: center; clear: both;”> Franco Maccari </div>
    </div>

    <span style=”font-family: georgia,palatino;”>
    <span style=”font-size: 10pt;”> Roma, 17 set – “La sensazione di profondo dolore che mi attanaglia per la s… </span>
    </span>
    </div>
    </div>
    </div>
    </div>

    If it were possible to eliminate this “caption” div in this part of the template, I think the problem is resolved. But… I do not know how to do. :-[

Viewing 1 post (of 1 total)

This topic contains 1 reply, has 1 voice, and was last updated by  fiumeciane 15 years, 2 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum