Trang web này sẽ có chức năng hạn chế trong khi chúng tôi trải qua bảo trì để cải thiện trải nghiệm của bạn. Nếu một bài viết không giải quyết được vấn đề của bạn và bạn muốn đặt câu hỏi, chúng tôi có cộng đồng hỗ trợ của chúng tôi đang chờ để giúp bạn tại @FirefoxSupport trên Twitter và /r/firefox trên Reddit.

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

webP image's save as .jpg extension

  • 1 trả lời
  • 1 gặp vấn đề này
  • 28 lượt xem
  • Trả lời mới nhất được viết bởi cor-el

more options

When I get item from say Aliex, they have data on a seller page (drawing with detail etc...) https://www.aliexpress.com/item/32989866598.html I download image & it is saved with .Jpg extension (but file is webP format) If I 'inspect element' on image it shows as .jpg, If I 'View image info' it shows as webp (on original web page) Looks like it is webP image file with .jpg extension on their server. ?? (likely to discourage image use) I have IrfranView so no problem viewing/converting etc.. but I need to change extension to reflect the files real format.

Is there a setting in my FF (latest for win7p 64) that I can choose to apply extension of image format to saved file.

Most other image files I save have extension that reflect their format (.jpg, .gif )

thanks

Inspect element: "https://ae01.alicdn.com/kf/HTB1.5pjqrwrBKNjSZPcq6xpapXay.jpg" data-spm-anchor-id="a2g0o.detail.1000023.i0.4ef9766cIBR6FM" width="686" File: location https://ae01.alicdn.com/kf/HTB1.5pjqrwrBKNjSZPcq6xpapXay.jpg

corrected the formatting to remove a leading space which mucks up the readability

When I get item from say Aliex, they have data on a seller page (drawing with detail etc...) https://www.aliexpress.com/item/32989866598.html I download image & it is saved with .Jpg extension (but file is webP format) If I 'inspect element' on image it shows as .jpg, If I 'View image info' it shows as webp (on original web page) Looks like it is webP image file with .jpg extension on their server. ?? (likely to discourage image use) I have IrfranView so no problem viewing/converting etc.. but I need to change extension to reflect the files real format. Is there a setting in my FF (latest for win7p 64) that I can choose to apply extension of image format to saved file. Most other image files I save have extension that reflect their format (.jpg, .gif ) thanks Inspect element: "https://ae01.alicdn.com/kf/HTB1.5pjqrwrBKNjSZPcq6xpapXay.jpg" data-spm-anchor-id="a2g0o.detail.1000023.i0.4ef9766cIBR6FM" width="686" File: location https://ae01.alicdn.com/kf/HTB1.5pjqrwrBKNjSZPcq6xpapXay.jpg ''corrected the formatting to remove a leading space which mucks up the readability''
Đính kèm ảnh chụp màn hình

Được chỉnh sửa bởi the-edmeister vào

Tất cả các câu trả lời (1)

more options

It looks that the alicdn.com server does user agent sniffing and sends a JPG image with Firefox 64 or older and WebP for Firefox 65 and later that support WebP. It doesn't look at the image.http.accept header, so you get a blank image if you disable WebP. It is the same file name, but a different format and file size.

You can verify this with a useragent override via the about:config page in the Network Monitor Firefox 64 - JPEG:

Firefox 65 - WEBP:

Được chỉnh sửa bởi cor-el vào