Jump to content

Recommended Posts

Posted

So, I am trying out the WebP support in 4.6. First, I only got broken images, but I quickly narrowed down the problem: the images are uploaded and processed successfully, but stored without a file suffix in the uploads directory and then blocked by <ipb-protection> in the htaccess file.

So what is going on there? Why is there no file suffix? Is that intentional? Can I change it? Is it a bug? A server configuration?

235394879_Bildschirmfoto2021-06-22um20_42_39.png.451b00f300951facfccdb2dea83c4685.png

 

P.S. I tried it here on the site for comparison, but it create a different issue and I couldn’t even upload the images:

1463692586_Bildschirmfoto2021-06-22um20_46_01.thumb.png.b098862a4e4b771b8bbb682ad3fe75b6.png

Posted (edited)
On 6/22/2021 at 9:53 PM, opentype said:

So, I am trying out the WebP support in 4.6. First, I only got broken images, but I quickly narrowed down the problem: the images are uploaded and processed successfully, but stored without a file suffix in the uploads directory and then blocked by <ipb-protection> in the htaccess file.

So what is going on there? Why is there no file suffix? Is that intentional? Can I change it? Is it a bug? A server configuration?

235394879_Bildschirmfoto2021-06-22um20_42_39.png.451b00f300951facfccdb2dea83c4685.png

 

P.S. I tried it here on the site for comparison, but it create a different issue and I couldn’t even upload the images:

1463692586_Bildschirmfoto2021-06-22um20_46_01.thumb.png.b098862a4e4b771b8bbb682ad3fe75b6.png

I had the same issue attachments webp.
I found a reason - open your uploads directory, find a .htaccess file and remove it (or make comment definitions) - this solves the display of attached webp

regards

This is content file htaccess

#<ipb-protection>
#<Files ~ "^.*\.(php|cgi|pl|php3|php4|php5|php6|phtml|shtml|([a-z0-9]{32}))$">
#    Order allow,deny
#    Deny from all
#</Files>
#</ipb-protection>

 

Edited by Adlago
Posted
11 minutes ago, Adlago said:

 I found a reason - open your uploads directory, find a .htaccess file and remove it (or make comment definitions)

Yes, I already said that I narrowed it down to this. But I am not going to remove a valid security feature just to show webP pictures. This is not the right solution. 

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...