Page 1 of 1
Webp Images
Posted: Wed Feb 09, 2022 1:43 am
by Bucky108
I added some WebP images to a page and found two things were happening:
1. Everything in the application slows down significantly. For example just opening up the tools menu.
2. The images do not actually display in the designer although they do in the browser.
Any suggestions?
Re: Webp Images
Posted: Wed Feb 09, 2022 7:16 am
by Pablo
WebP is third party functionality (by Google) so as a developer I have no control over the performance or behavior of WebP image.
But maybe the image is very large?
Re: Webp Images
Posted: Wed Feb 09, 2022 1:18 pm
by Bluesman
I have started to use webp images to some of my projects and no issues so far. No slowdown... and appear as all other images in the workspace.
As Pablo mentioned maybe are to big. Note that the photos/images perform best if you have optimized them to the size they shall be used in the project. What comes to webp you can compress more when converting from jpg and png. But this is very sensible. do not compress to much because the images will lose quality.
Re: Webp Images
Posted: Wed Feb 09, 2022 2:29 pm
by zinc
Bluesman wrote: Wed Feb 09, 2022 1:18 pm
I have started to use webp images to some of my projects and no issues so far. No slowdown... and appear as all other images in the workspace.
As Pablo mentioned maybe are to big. Note that the photos/images perform best if you have optimized them to the size they shall be used in the project. What comes to webp you can compress more when converting from jpg and png. But this is very sensible. do not compress to much because the images will lose quality.
There some issues with webp format. If you assign an image to open in lightbox, you will notice, it does not resize corrected and cause a scroll bar to appear. I would use this format with caution at the moment.
Re: Webp Images
Posted: Wed Feb 09, 2022 7:32 pm
by Bluesman
zinc wrote: Wed Feb 09, 2022 2:29 pm
Bluesman wrote: Wed Feb 09, 2022 1:18 pm
I have started to use webp images to some of my projects and no issues so far. No slowdown... and appear as all other images in the workspace.
As Pablo mentioned maybe are to big. Note that the photos/images perform best if you have optimized them to the size they shall be used in the project. What comes to webp you can compress more when converting from jpg and png. But this is very sensible. do not compress to much because the images will lose quality.
There some issues with webp format. If you assign an image to open in lightbox, you will notice, it does not resize corrected and cause a scroll bar to appear. I would use this format with caution at the moment.
Ok... tnx zinc. I have not noticed that, but have not used to much until now...
Re: Webp Images
Posted: Wed Feb 09, 2022 8:15 pm
by Bucky108
Here is an example:
Layout grid - standard jpg image on left, WebP image on right.
Note the image doesn't display in the designer, but will display correctly in the browser. Its small; about 21k.
Also, if I make a change in the layout grid like background color it causes wwb to exit with no error message.
Re: Webp Images
Posted: Wed Feb 09, 2022 9:13 pm
by Pablo
If you need help with this then please share a DEMO project (.wbs file) so I can see all your settings.
For further details about how to share a project file, please see this FAQ:
https://www.wysiwygwebbuilder.com/forum ... 10&t=82134
Re: Webp Images
Posted: Wed Feb 09, 2022 9:19 pm
by Bucky108
Re: Webp Images
Posted: Wed Feb 09, 2022 9:24 pm
by Pablo
On my computer the webp image is displayed correctly.
Do you have Windows 10 or newer?
Re: Webp Images
Posted: Wed Feb 09, 2022 9:55 pm
by Bucky108
Pablo wrote: Wed Feb 09, 2022 9:24 pm
On my computer the webp image is displayed correctly.
Do you have Windows 10 or newer?
Yes...Windows 10 Home with all updates on Surface Pro 7 where it doesn't work.
On my Dell laptop I have W10 Pro and it works fine there.
Re: Webp Images
Posted: Wed Feb 09, 2022 10:24 pm
by BaconFries
Curious although you say you have all the latest available updates to your Surface Pro does it have the Webp Image Extensions installed?. This may explain why it isn't displayed in the program but will when published in the browser which supports it...
Re: Webp Images
Posted: Wed Feb 09, 2022 11:34 pm
by Bucky108
BaconFries wrote: Wed Feb 09, 2022 10:24 pm
Curious although you say you have all the latest available updates to your Surface Pro does it have the Webp Image Extensions installed?. This may explain why it isn't displayed in the program but will when published in the browser which supports it...
I tried to install it but (as often happens with the crap apps in the Microsoft store), the install doesn't work.
Re: Webp Images
Posted: Thu Feb 10, 2022 6:05 am
by BaconFries
Re: Webp Images
Posted: Thu Feb 10, 2022 2:00 pm
by Bucky108
Those lead you to install the extension on the Microsoft store, which doesn't work on my machine. In any case, I see WebP images in the browser, just not in the designer.
For now, I'll just avoid using WebP.
Re: Webp Images
Posted: Thu Feb 10, 2022 2:14 pm
by Pablo
WYSIWYG Web Builder uses the WebP functionality that is built-in Windows (via Direct2D), so if this does not work then there is nothing I can do from my side.
Re: Webp Images
Posted: Thu Feb 10, 2022 4:28 pm
by Bucky108
Understood. Thank you.