plan2net / webp

Create a WebP copy for images (TYPO3 CMS)
GNU General Public License v3.0
60 stars 33 forks source link

File gets converted but not displayed in frontend #59

Closed omni-primus closed 2 years ago

omni-primus commented 2 years ago

I've download and installed Version 2.2.2 for my Typo 9.5.14 environment and can't manage to display the webp images in my frontend. I've followed the README file step by step, the images are getting converted into the processed directory and they are accessable if I enter the url into my browser. I adjusted the htaccess file as it is described. However, for whatever reason the webp images are not getting shown in the frontend, only the normal variants of the images. I'm pretty clueless on what to do and I can't find a solution to my problem on google.

Browser result: image

Files in directory: image

Typo3 extention settings: image

htacccess code: image

I'm not getting an error message or something, it's simply not working for me.

Any idea what the problem might be?

wazum commented 2 years ago

@omni-primus where did you add the rules in your .htaccess file? As stated in the README, you have to make sure the rules are not overruled by any other existing rule. So the best bet is to add them at the top after the RewriteEngine On directive.

omni-primus commented 2 years ago

Ah thanks, that fixed it