Bug #43691
closed
Media Image Import is broken
Added by Anonymous almost 12 years ago.
Updated almost 11 years ago.
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
The solution of the related bug is is also helpful for this bug.
Could by solved by adding this TypoScript line:
lib.header_logo.file.treatIdAsReference = 1
Can this bug get closed (no action required?)
- 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?)
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
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.
- 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. :-)
- 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.
Also available in: Atom
PDF