close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

thumbnail webp in file manager

Thread begun 12/20/2022 1:37 pm by Sweens | Last modified 1/17/2023 9:19 am by Ray Borduin | 744 views | 14 replies |

Sweens

thumbnail webp in file manager

Hi Ray

When I upload a webp format image, the thumbnail isn't displayed in the file manager. I can't see which file I might need to alter to add the webp extension.

Secondly, when I insert an image in a page, the self closing /> is added at the end. W3C validation now produces a warning about this. Is it possible to code it so that it just puts > at the end of the code? (similarly with <br /> should be <br> )

Many thanks

Chris

Sign in to reply to this post

Ray BorduinWebAssist

Can you create a blank page with this on it:
<?php
phpinfo();
?>

And see if your php has webp support in the section labeled 'gd'?

If it doesn't, then you would have to talk to your hosting provider to get a php version with webp support in the GD library. It has to be compiled in when php is installed, so it isn't easy to add yourself.

If you give me FTP access and a url where I can play with the editor to see the <br /> and <image /> tags being added, then I can take a look and correct it in the code. I'm not sure the cause or best solution without looking at what you have. I may be able to update the ckeditor version, or I may be able to change a configuration setting. Worst case scenario I may have to go into the source code and fix it manually.

Sign in to reply to this post
Did this help? Tips are appreciated...

Sweens

Hi Ray

Many thanks. yes, gd support for webP files is enabled.

My mistake - it is the <hr /> tag not <br />

Many thanks

Chris

Sign in to reply to this post

Ray BorduinWebAssist

I was able to update your ckeditor/config.js file to address this issue. I added:

CKEDITOR.on( 'instanceReady', function( ev ) {
// Ends self-closing tags the HTML4 way, like <br>.
ev.editor.dataProcessor.writer.selfClosingEnd = '>';
});



You may need to clear your cache before the change takes effect.

Sign in to reply to this post
Did this help? Tips are appreciated...

Sweens

Hi Ray

That's brilliant, thank you.

Cheers

Chris

Sign in to reply to this post

Sweens

Hi Ray

Any thoughts on the .webp thumbnails in the file manager?

Cheers

Chris

Sign in to reply to this post

Ray BorduinWebAssist

You appear to be using the kcfinder for your file manager. That is old and may not support webp.... I can help you implement a newer filemanager in a premier support ticket that might fix this problem. I'd probably need to do it in a premier support ticket.

Sign in to reply to this post
Did this help? Tips are appreciated...

Sweens

Hi Ray

But that's the file manager that comes with DataAssist - I have the latest version installed. Am I missing something in the setup, or does the extension only support kcfinder?

Cheers

Chris

Sign in to reply to this post

Ray BorduinWebAssist

I haven't updated it in DataAssist, but I've started using a different version:

https://www.responsivefilemanager.com

Sign in to reply to this post
Did this help? Tips are appreciated...

Sweens

Thanks Ray

I could be interested - but have a couple of questions;
will this be in the next WA update, or wlil you be using CK Editor 5, which gas been available for some time?
When might the next update happen?

Cheers

Chris

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...