Welcome to TalkGraphics.com
Results 1 to 10 of 24

Thread: WebP Support

Threaded View

  1. #12

    Default Re: WebP Support

    Quote Originally Posted by Acorn View Post
    In the meantime...

    ...Secure a high quality JPG/PNG file and drop onto your design page.

    Scale the image to your wanted size.
    Use an on-line image to webP converter - I tried https://convertio.co/webp-converter/ as it seemed to be the best out there.
    Save the converted webP file in the same folder as your original (just for convenience).
    Select the image in your design and press Shift+Ctrl+Alt+A and add the full path to your webP file.
    Finally, open the same selected image's Placeholder code body and add: <img src="index_htm_files/[image].webp" width=100% height=100% />, where [image] is your filename.
    Do not have Regenerate placeholder image ticked and click out with the OK button a few times.

    Your XDA will now use the webP file instead of your JPEG/PNG.

    Far from perfect but it does work: https://shared.xara.com/ftJWjAASDx/.

    In return, I need the code that would handle the stretched placeholder image in a similar fashion to Stretch Full Width.

    Acorn
    I did think it would be something like that, but to do that for my whole website would take some commitment, and probably some valium, and lots of coffee.
    Seriously though it would be nice to convert all jpg and png files. Thanks for the link.

    Maybe Santa will use his magic elf dust on the Devs
    Last edited by Ore; 05 December 2020 at 07:00 PM. Reason: Forgot to close the door on the way out

 

 

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •