damn, that was hard to figure out! but a simple little thing, that made it work:
You must have at least PHP 5.3 installed! Simple as that...
Somewhere in the world wide web i stumbled upon a post that said you must have PHP 5.3 at least; didn't realize that before, although it's stated on the tutorial-site. My big fault!
My customers-provider strato has a setting for php-version, which was set to 5.3. So I switched up to 5.6 and checked the php-info. This said 5.2.17?! So additionally I had to add this to my htaccess-file:
AddType application/x-httpd-php56 .php
So now I'm running PHP 5.6.8 and the images are showing up, woohoo!
Because I installed the Notify404-Package I got many many mails, related to the phpthumbs-own-source-path to the images (remember - /phpthumbsup/w/1000/h/500/src/img/slider-responsive/fotolia_123456.jpg).
I'm wondering what about Google-Bot and others, they will "see" a lot of 404-errors now?
###### not directly related to phpthumbsup ######
I added some code to the Notify404-snippet to get rid of any mails with a requested-variable containing "phpthumbsup". So no more mails regarding this "problem" are coming in...other 404-errors still get mailed though.
###### not directly related to phpthumbsup END ######
And now I ran into some other questions...I'm doing remote-debugging in Chrome with my Tablet, that has a viewport-resolution of 600 x 792 px (I guess) in Chrome in Portait Orientation. I did an inspect via the Chrome developer tools to see how big the now finally responsive images are.
Checked one image on the tablet in 600 x 792 px resolution:
41.9 kb @ 511 x 341 px (Natural 500 x 334 px) ### EDIT: my fault, uploaded image is 500 x 334 px ###
checked the same image on my desktop PC in 1200 x 800 px resolution:
41.9 kb @ 1000 x 668 px (Natural 500 x 334 px) ### EDIT: my fault, uploaded image is 500 x 334 px ###
same size as on the tablet? So it doesn't seem any different images got loaded?
Same image on Tablet Landscape Orientation: 962 x 732 px resolution:
image size 51.9 kb at 660 x 441 px (Natural 500 x 334px) ### EDIT: my fault, uploaded image is 500 x 334 px ###
So there is something happening, but what?! The thresholds in the phpthumbsup-system-setting are set to 270,480,600,768,992,1200. I expected different images getting loaded off the phpthumsup-cache folder?
I checked also that the responsive.js is in my html-output and the path is correct.
Tried it by this call:
<li>
<img src="[[+image:phpthumbsup=`w=1000&h=500`]]" alt="[[+title]]"/>
</li>
HTML-Output:
<img src="/phpthumbsup/w/1000/h/500/src/img/slider-responsive/fotolia_123456.jpg" alt="">
as well as by this call:
<li>
<img src="[[+image:phpthumbsup]]" alt="[[+title]]"/>
</li>
HTML-Output:
<img src="/phpthumbsup/src/img/slider-responsive/fotolia_123456.jpg" alt="">
The html-output varies by the added width and height values. And the size increases to 89.5 kb on the tablet and to 98.5 kb on the Desktop-PC by using the first call?!
EDIT:
Also checked it by remote-debugging and chrome-inspect on my smartphone (Samsung Galaxy SIII):
Portrait Orientation: 360 x 567 px
image 33.3 kb @ 310 x 207 px (natural: 480 x 320 px)
Landscape Orientation: 640 x 287 px
image 51.9 kb @ 550 x 367 px (natural: 480 x 320 px)
So finally I guess (but I'm not really sure
) it's working...thresholds set to 270,480,600,768,992,1200
Tests on antoher image:
smartphone portrait 360 x 567 px - 480px-width related image in
480 x 319 px - scaled to 310 x 206 px
smartphone landscape 640 x 287 px - 768px-width related image in
768 x 511 px - scaled to 550 x 336 px
tablet portrait 600 x 792 px - 768px-width related image in
768 x 511 px - scaled to 511 x 340 px
tablet landscape 962 x 287 px - 992px-width related image in
992 x 660 px - scaled to 660 x 439 px
desktop landscape 1200 x 768 px (emulated) - should be 1200px-width related image in
1000 x 667 px - scaled to 1000 x 667 px
looks correct...sorry for all the "spam" on here...needed to write it down and by asking questions in mind I came to several other conclusions and ways to check this all...hope it might help someone.