desbest Posted December 22, 2017 Share Posted December 22, 2017 When I insert an image into the CKEditor in a field called "content" , it should also be added to the "image_bucket" field (an image field) but it appears in the CKEditor but not the image_bucket field. The image appears in CKEditor and in the page when viewed in a web browser, but it does not appear in my file system when I use WebDAV or FTP to see if it's uploaded. When I select the image in CKEditor then click the image button, I get the Invalid image file: 1,shop_novels.png error. (The file name is shop_novels.png) The assets/ folder and all folders within it have 755 chmod. How do I fix this problem? Here's a video showing this behaviour. Link to comment Share on other sites More sharing options...
ngrmm Posted December 28, 2017 Share Posted December 28, 2017 your file is a png. maybe somewhere in the process, the image is saved as jpeg and this causes an error. 1 Link to comment Share on other sites More sharing options...
ryan Posted December 31, 2017 Share Posted December 31, 2017 @desbest It looks like you are running PW 3.0.61. I don't know if that particular version had an issue related to that, but I would suggest upgrading to either the current master version, or better yet the current dev version. The current dev version now lets you drag/drop in images into CKEditor, which might be preferable to the process you are currently using to insert images. If you are able to reproduce the issue you are seeing on a fresh install of the current dev version, please post an issue report on GitHub too. Thanks. Link to comment Share on other sites More sharing options...
desbest Posted February 3, 2018 Author Share Posted February 3, 2018 I updated to the latest dev version which is 3.0.90 and now it works. It also works on the newest master version 3.0.62 It looks like an issue with the old version of processwire 3.0.61 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now