[TYPO3-english] Responsive design - image resize problem

Adrian ad1822 at gmail.com
Mon Feb 25 23:04:53 CET 2013


Hi list,
I have a problem with responsive image on my site. I used tutorial from:
http://typo3blogger.de/typo3-adaptive-images/ and used script from:
http://adaptive-images.com/, but... When I add :

<IfModule mod_rewrite.c>
# Enable URL rewriting
RewriteEngine On

Options +FollowSymlinks
# Adaptive Images
# don't apply the AI behaviour to images inside AI's cache folder:
RewriteCond %{REQUEST_URI} !ai-cache
# further directories that shouldn't use AI
RewriteCond %{REQUEST_URI} !fileadmin/images
# Send any GIF, JPG, or PNG request that IS NOT stored inside
# one of the above directories
RewriteRule ^.*\.(jpg|jpeg|png|gif)$ adaptive-images.php [L]

</IfModule>

to my .htaccess file the images from page disappearing... When I comment line

# RewriteRule ^.*\.(jpg|jpeg|png|gif)$ adaptive-images.php [L]

The images appearing, but they don't resize (the "ai-cache" folder) is
empty. The links to image on the page source has the form: <img
src="/typo3temp/pics/img_0b6567f79a.jpg" alt="img alt" title="img
title" />

Do anybody know what I did wrong?

Thanks for any help,
Adrian


More information about the TYPO3-english mailing list