Bug #45886
closedImage caption not rendered in localized content elements.
0%
Description
If i localize a content element with images, the captions are not rendered.
In my default language, all captions are rendered correctly. But in the other language, no captions are rendered in frontend.
Updated by Camelia M over 11 years ago
TimoF wrote:
If i localize a content element with images, the captions are not rendered.
In my default language, all captions are rendered correctly. But in the other language, no captions are rendered in frontend.
same here :(
I think this bug was introduced in typo3 6.0.2. I tested on clean install of typo3 6.0.1 and it works fine. As soon as I update to 6.0.2 it gets broken.
Updated by Thomas Corell over 11 years ago
The images usualy are surounded by a table - this table is missing in the localized versions.
Updated by TimoF no-lastname-given over 11 years ago
Thomas Corell wrote:
The images usualy are surounded by a table - this table is missing in the localized versions.
what do you mean with that?
Updated by Thomas Corell over 11 years ago
You can see here the difference (no "table") between the image part of default and other language:
<div class="csc-textpic csc-textpic-center csc-textpic-above"> <div class="csc-textpic-imagewrap"> <div class="csc-textpic-center-outer"> <div class="csc-textpic-center-inner"> <div class="csc-textpic-imagerow csc-textpic-imagerow-last"> <div class="csc-textpic-imagecolumn csc-textpic-firstcol"> <div class="csc-textpic-image csc-textpic-last"> <table><caption class="csc-textpic-caption">foo</caption> <tbody><tr><td><a href="foo.jpg" title="foo" class="lightbox" rel="lightbox[34]"> <img src="foo.jpg" title="foo"></a></td></tr> </tbody> </table></div></div> </div></div></div></div></div> --- <div class="csc-textpic csc-textpic-center csc-textpic-above"> <div class="csc-textpic-imagewrap"> <div class="csc-textpic-center-outer"> <div class="csc-textpic-center-inner"> <div class="csc-textpic-imagerow csc-textpic-imagerow-last"> <div class="csc-textpic-imagecolumn csc-textpic-firstcol"> <div class="csc-textpic-image csc-textpic-last"> <a href="foo.jpg" title="foo" class="lightbox" rel="lightbox[34]"> <img src="foo.jpg" title="foo"> </a></div></div> </div></div></div></div></div>
Updated by TimoF no-lastname-given over 11 years ago
Hm... my rendering makes a "<figcaption class="csc-textpic-caption">" around the caption. no table. And this <figcaption> is not rendered. i dont see any table structure. Your Code makes no sense to me. The <caption> tag comes directly after <table> without <tr><td>. I think there is something wrong with it. This is my code:
<div class="csc-textpic csc-textpic-center csc-textpic-above"> <div class="csc-textpic-imagewrap"> <div class="csc-textpic-center-outer"> <div class="csc-textpic-center-inner"> <div class="csc-textpic-imagerow csc-textpic-imagerow-last"> <div class="csc-textpic-imagecolumn csc-textpic-firstcol"> <figure class="csc-textpic-image csc-textpic-last"> <a href="#" title="foo"> <img src="foo.jpg" width="193" height="183" alt="foo"> </a> <figcaption class="csc-textpic-caption">foo</figcaption> </figure>
Updated by Stefan Galinski over 11 years ago
- Category changed from Content Rendering to File Abstraction Layer (FAL)
- Status changed from New to Accepted
Just reproduced the issue with the current master.
Updated by Helmut Hummel over 11 years ago
- Status changed from Accepted to Needs Feedback
Camelia M wrote:
I think this bug was introduced in typo3 6.0.2. I tested on clean install of typo3 6.0.1 and it works fine. As soon as I update to 6.0.2 it gets broken.
Can you please test 6.0.4 which has been released today. This version includes a fix, which should also fix this issue.
Updated by Camelia M over 11 years ago
Helmut Hummel wrote:
Camelia M wrote:
I think this bug was introduced in typo3 6.0.2. I tested on clean install of typo3 6.0.1 and it works fine. As soon as I update to 6.0.2 it gets broken.
Can you please test 6.0.4 which has been released today. This version includes a fix, which should also fix this issue.
Yes, now it works, but if I am not mistaken, it is fixed since 6.0.3
Thank you
Updated by Helmut Hummel over 11 years ago
- Status changed from Needs Feedback to Resolved
Camelia M wrote:
Yes, now it works,
Great, thanks for your feedback!
but if I am not mistaken, it is fixed since 6.0.3
True. 6.0.4 only fixed the regression regarding pages with external URLs that has been introduced in 6.0.3
Resolving this.