-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Image resizing fundamentally not working in most basic page setup #5668
Comments
Hello @Jonast , I believe this is an issue with the image plugin you're using. Thanks! |
I used your default install with your default choice of Image insertion. (I literally just clicked the button for content to insert and chose "Image".) I did zero work beyond just running the default installer with no extensions, other packages or anything Do you expect me to know your internal project structure?? If this needs to be forwarded to some party, please do it yourself since I am just a user. You should really deal with bug reports of such basic functionality differently... How should I even know which image plugin handles images per default?? |
Checking again in the editor, it seems to be in a "Filer" section, so I am going to assume it's "cmsplugin-filer"? However, just to stress this: there is literally no other option available (for inserting images), and this is the most default install I could have done with pretty much zero changes, and inserting images is a super basic behavior in a CMS - I can file it somewhere else if you tell me where exactly, but I certainly can't guess the correct responsible component myself.. |
Hello @Jonast, Regarding this specific issue, seems like the problem comes from the WYSIWYG editor, the resize handles are added by the editor js but I don't think these are hooked up to the backend, an oversight on our part. I've filed a ticket for this django-cms/djangocms-text-ckeditor#362. |
To reproduce, do the following:
Expected result:
The image is as small as in the WYSIWYG editor
Actual result:
The image will be huge again on the resulting site (expected behavior is obviously: it remains small).
If you click "edit" again and click the edit button on the text content, in the WYSIWYG editor the image is small again. If you right-click > "Inspect" in your browser, you will see width/height tags with exact pixel dimensions is set on the instance displayed as part of the WYSIWYG content area. If you now return to the published page, no width/height tags are present on the rendered as part of the resulting page which seems to be really weird.
The text was updated successfully, but these errors were encountered: