Project

General

Profile

Actions

Bug #43691

closed

Media Image Import is broken

Added by Anonymous almost 12 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2012-12-06
Due date:
% Done:

0%

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

Description

This code is also presented in the TYPO3 Wiki.
But with TYPO3 6.0.0 this code delivers an ext_icon.gif and not the media of the rootpage.

lib.header_logo = IMAGE
lib.header_logo.file {
  import = uploads/media/
  import.required = 1
  import.data = levelmedia:-1, slide
  import.listNum = 0
}

Regards


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #43708: leveluid with slide doesn't work across multiple levelsClosed2012-12-07

Actions
Related to TYPO3 Core - Bug #46383: levelmedia ignores sorting of media recordsClosed2013-03-17

Actions
Actions #1

Updated by Anonymous almost 12 years ago

The solution of the related bug is is also helpful for this bug.

Actions #2

Updated by Tobias Liebig almost 12 years ago

Could by solved by adding this TypoScript line:

lib.header_logo.file.treatIdAsReference = 1

Can this bug get closed (no action required?)

Actions #3

Updated by Tobias Liebig almost 12 years ago

  • Status changed from New to Needs Feedback
  • Assignee set to Anonymous

@Johannes: could you point us the the wiki page, so someone can take care to add a note there (may you can do that too?)

Actions #4

Updated by Anonymous almost 12 years ago

Here is the linkt to the wiki page: http://wiki.typo3.org/TypoScript_Header_Image

I don't know how to change it.

Actions #5

Updated by Kay no-lastname-given almost 12 years ago

And there is a bug in sorting... if i upload two images (A.gif, B.gif) in the media field and save. And than i change the sorting and save again. In Frontend the sorting is still A,B and not B,A

Actions #6

Updated by Stephan Bauer over 11 years ago

Kay wrote:

And there is a bug in sorting... if i upload two images (A.gif, B.gif) in the media field and save. And than i change the sorting and save again. In Frontend the sorting is still A,B and not B,A

Same problem with page resources. Sorting resources does not have an effect in the frontend.

lib.contentHeaderPic = IMAGE
lib.contentHeaderPic {
file.import.data = levelmedia:-1, slide
file.treatIdAsReference = 1
file.import.listNum = 0
}

listNum = 0 show always the same image even if sorting changes.

Actions #7

Updated by Alexander Opitz over 11 years ago

  • Target version deleted (6.0.1)

Hi Johannes Krautschick,

the wiki page changed, are the samples correct now?

@Kay Wienöbst and Stephan, then please open new issues on that and don't kidnap this one. :-)

Actions #8

Updated by Alexander Opitz almost 11 years ago

  • Status changed from Needs Feedback to Closed
  • Assignee deleted (Anonymous)
  • Is Regression set to No

No feedback within the last 90 days => closing this ticket.

If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.

Actions

Also available in: Atom PDF