Project

General

Profile

Actions

Bug #58705

open

data-type-gettext-file inside FILES renderObj GIFBUILDER

Added by Christian Stern almost 10 years ago. Updated over 6 years ago.

Status:
New
Priority:
Could have
Assignee:
-
Category:
Image Cropping
Target version:
-
Start date:
2014-05-12
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.5
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Is it a normal behavior that data-type-gettext-file is not accessible inside the following structure?

uid:46 is a valid image file.

page >
page = PAGE

page.10 = FILES
page.10 {
  files = 46

  renderObj = IMAGE
  renderObj.file = GIFBUILDER
  renderObj.file.XY = 400,400
  renderObj.file.10 = IMAGE
  renderObj.file.10.file {
    import.data = file:current:publicUrl
    width = 400c
    height = 400c
  }
}

Save publicUrl to a register to access it later works:

page.20 = FILES
page.20 {
  files = 46

  renderObj = COA
  renderObj {
    1 = LOAD_REGISTER
    1.publicUrl.cObject = TEXT
    1.publicUrl.cObject.data = file:current:publicUrl

    10 = IMAGE
    10 {
      file = GIFBUILDER
      file {
        XY = 400,400

        10 = IMAGE
        10.file {
          import.data = REGISTER:publicUrl
          width = 400c
          height = 400c
        }
      }
    }
  }
}
Actions

Also available in: Atom PDF