Project

General

Profile

Actions

Bug #45886

closed

Image caption not rendered in localized content elements.

Added by TimoF no-lastname-given over 11 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2013-02-27
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.


Related issues 2 (0 open2 closed)

Has duplicate TYPO3 Core - Bug #45806: Caption field not renderedClosedMichael Stucki2013-02-24

Actions
Has duplicate TYPO3 Core - Bug #46039: Missing image caption when adding an image to an existing content elementClosed2013-03-05

Actions
Actions #1

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.

Actions #2

Updated by Thomas Corell over 11 years ago

The images usualy are surounded by a table - this table is missing in the localized versions.

Actions #3

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?

Actions #4

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>

Actions #5

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>

Actions #6

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.

Actions #7

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.

Actions #8

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

Actions #9

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.

Actions #10

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF