Downloading images

I’m trying to make an image downloadable on a page but when I right click on it to “save image” it downloads it as a Google’s Webp and not the photo. Any ideas? Thanks, Barry

This forum is dedicated to Corvid. For questions that are not related to code you can contact the Wix support team . You’ll get better help for your problem there.

Copy the address of the image and delete the part of the URL that refers to the webp file. Or you could just open the page in Internet Explorer and that’ll serve the URL you’re after. (I’m sure there are ways to grab these URLs programmatically but you don’t make clear that hard coding is unsuitable here.) I could be wrong but I suspect if you then set the src property of an image in code to the complete jpg URL that’ll subvert Wix’s transparent conversion of the jpg to webp.

Thanks for your reply Lee! I don’t know much about building websites, stumbling my way through. I was just trying to make images downloadable for a band’s press kit and realized I could just put them in a zip folder and make a link. Cheers, barry

If the pictures are from your Wix Media Manager, then they would have already been converted to webp when you uploaded them to your Wix site.
https://support.wix.com/en/article/media-and-site-performance

When you upload an image to your site, it is automatically converted to WebP format. This format is optimized for the web, and therefore provides better performance, and improved visitor experience. WebP is used in any compatible browser, such as Chrome. Some older browsers, such as Internet Explorer, don’t support WebP and use the original image format instead. If you feel your images are loading slowly, check your site on Chrome to make sure it’s not a browser issue.

However as already stated you can bypass that by using Internet Explorer or Mozilla Firefox (older versions of Firefox didn’t support webp).

Or, if you are using the latest version of Firefox which does support webp, then you can disable WEBP support. In about:config: Set image.webp.enabled to false. Set image.http.accept to /.

Otherwise you can just right click and go to save as and just change the extension to .webp and open it up in Paint or Irfanview will open it fine.

You can do it through Google Chrome too, however you would need to add an extension like ‘Save Image as PNG’

Although the quickest way to download pictures is to just go to your Media Manager and click on download and you will be able to download to your device in the same format that you uploaded them as.
https://support.wix.com/en/article/downloading-files-from-the-media-manager

You can also download photo albums as a zip file already
https://support.wix.com/en/article/downloading-a-photo-album

You can also simply use the download options available from Wix Pro Gallery and Wix Fileshare as noted here.
https://support.wix.com/en/article/adding-a-download-button#additional-download-options

Or just simply drag the image to your desktop and if it still opens up as a webp file, then you can simply open it up in Paint on a pc and save it as a png or a jpeg file.

Yes Paint on pc is just a basic prog, however it is free. If you want to do it in Adobe Photoshop, then you will need to install a plugin so that you can open and save webp in Photoshop as shown here.
https://developers.google.com/speed/webp/docs/webpshop

Finally, however please note that this is not a code related issue as you are not downloading your images through code, therefore you should do what Yisrael mentioned and go through Wix Support for anymore help with this issue.

If you did decide to go down the code route for this, then please come back and add a new post to this forum.