rtp-ch / rtp_imgquery

Responsive and fluid image techniques for TYPO3
Other
28 stars 0 forks source link

All images in content responsive ? #7

Closed ghost closed 11 years ago

ghost commented 11 years ago

If tt_content.image.20.1.breakpoints are set in TS setup to make all images in tt_content responsive, only the first image is rendered and shown several times (as often as images are included to content). All following images are equal (see screenshot) responsiveimage

simontuck commented 11 years ago

@hoeckele I can't reproduce this. Is it possible that the issue is resolved with #8? If not, can you give me some more details on the actual configuration you are using? I have tested this with 6e892bd6f159345fc57abdb4594a9e17ef4acbf8 and the TYPO3 Introduction package for 6.0.4 and the TS option works as expected.

ghost commented 11 years ago

Hi Simontuck, i have the same result on a TYPO3 6.1 version. This Strange Behavior is only with tt_content and not if used with viewHelper. I don't want publish the domain here. But if you like i can send you the domain.

thanks for your attention & this nice Extension Matthias

ghost commented 11 years ago

Testet on different System 6.1 with rtp_imgquery alpha.6 same result. Update git to 2.0 beta same result. First image repeat...

test server domain caly.vela.uberspace.de

simontuck commented 11 years ago

@skydivematy Thanks for the test domain, but as far as I can tell your images are working as expected: You've defined the following breakpoints 300, 320, 480 & 2850 and for those breakpoints the following images have been rendered:

You can also check which images are being chosen by debugging the global variable imgQry in your console.

ghost commented 11 years ago

Hi Simon, the Problem is, that when the breakpoint is aktivated and you have 5 differend Images as content element. The first image you see 5 times and not 5 differend images what you choosen. The proceccing works perfect. You see on the Testsystem 2 typologos, black & White with fixed Pixel Size. And with rtp_... are the same images 1 Black & 1 White, but you see 2 White typo3 logos.

rtp_imgquery-error

This wrote "hoeckele also " only the first image is rendered and shown several times (as often as images are included to content). All following images are equal"

So, if you have 20 differend images on page, you see 20x the first image.

greetings Matthias

simontuck commented 11 years ago

@skydivematy Ok thanks, got it. I'll look into it.

ghost commented 11 years ago

Hi simontuck, you are the best :-) Many many Thanks...

ghost commented 11 years ago

Seems I have missed some emails on the weekend! Works great now, thank you very much Simon! Greetings David