[TYPO3-english] typo3 6.2 resources media
Sebastian Schmal
sebastian.schmal at gmx.de
Fri Mar 28 14:13:56 CET 2014
hey list,
i need help for this ticket:
http://forge.typo3.org/issues/46383
I get all the data ( Headline, Text, Links) displayed properly!
only the images are displayed incorrectly.
there are always output the same pictures!
# Abfrage Image
5 = COA
5 {
5 = IMAGE
5 {
stdWrap.required = 1
file = fileadmin/imagefilenamename.jpg
file {
width = 470c
height = 470c
maxW = 470c
maxH = 470c
treatIdAsReference = 1
import {
#current = 1
#data = levelfield:-1, media
data = levelmedia:-1
listNum = 0
}
}
altText.field = title
titleText.field = title
imageLinkWrap = 0
layoutKey = default
layout {
default {
element = <img src="###SRC###" ###PARAMS###
###ALTPARAMS### ###BORDER### ###SELFCLOSINGTAGSLASH###>
source =
}
srcset {
element = <img src="###SRC###"
srcset="###SOURCECOLLECTION###" ###PARAMS### ###ALTPARAMS###
###SELFCLOSINGTAGSLASH###>
source = |*|###SRC###
###SRCSETCANDIDATE###,|*|###SRC### ###SRCSETCANDIDATE###
}
}
sourceCollection {
small {
width = 200
srcsetCandidate = 600w
mediaQuery = (max-device-width: 600px)
dataKey = small
}
smallRetina {
if.directReturn = 1
width = 200
pixelDensity = 2
srcsetCandidate = 600w 2x
mediaQuery = (max-device-width: 600px) AND
(min-resolution: 192dpi)
dataKey = smallRetina
}
}
}
}
# IMG END
in t3 6.1 works the code fine.
is this a bug in 6.2 ?
or do I need a different code?
thanks
--
------------------------------------------
TYPO3 - TIPPS - ANLEITUNGEN - NEWS
unter: http://blog.ingeniumdesign.de/
TYPO3 Webdesign Agentur Wiesbaden - Frankfurt
unter: http://www.ingeniumdesign.de/
Facebook Fan
http://www.facebook.com/ingeniumdesign/
------------------------------------------
More information about the TYPO3-english
mailing list