I am using TinyMCE with IMCE and Insert module with the WYSIWYG module.

When I insert an image with insert or IMCE the image resize handles do not appear in Chrome 5+ on Mac or Ubuntu. I originally thought this was the TinyMCE module and tagged onto this thread (http://tinymce.moxiecode.com/punbb/viewtopic.php?pid=71770) but when I saw this demo for IMCE (http://ufku.com/drupal/imce/demo) I had a chance to try FCKeditor too. FCKeditor is having the same issue so now I am wondering if this could possibly have anything to do with WYSIWYG. Or it is possible that the bug exists in FCKeditor and TinyMCE.

Is it possible that WYSIWYG could be disabling the image resize handles?

CommentFileSizeAuthor
#3 image-resize.jpg57.5 KBcibis
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

TwoD’s picture

Status: Active » Closed (won't fix)

Please see the response by spocke in the TinyMCE forum. This is a bug in Webkit based browsers and there's nothing Wysiwyg can do about it.
The same problem appears on the official TinyMCE examples page when viewed in Crome (Windows and Ubuntu for me).

Elijah Lynn’s picture

Thanks TwoD!

cibis’s picture

FileSize
57.5 KB

I know it’s been a while since this issue was reported but I just want to inform the other people who may experience similar issues that this is actually not such a big problem to fix now. Image resize functionality for Webkit can be faked using javascript and with the power of jquery it’s actually not such a complicated task. In case you don’t want to develop your own solution you can try the plugin provided here http://www.editorboost.net/webkitresize

http://drupal.org/files/image-resize.jpg

Elijah Lynn’s picture

Thanks Cibis,

This looks promising. I will give it a try this week.

Btw everyone else, here is the bug in webkit, please post on there if you want this implemented --> https://bugs.webkit.org/show_bug.cgi?id=12250

I grabbed link from similar issue here --> http://drupal.org/node/367655

areikiera’s picture

Version: 6.x-2.0 » 7.x-2.1

That webkitresize fix looks great! Any chance somebody could provide a few tips on implementing it?

Thanks!

Pol’s picture

Status: Closed (won't fix) » Fixed

Hello,

The bug has been fixed with the latest version of chrome & chromium. Be sure to use the latest tinymce version too.

Elijah Lynn’s picture

The bug has been fixed with the latest version of chrome & chromium. Be sure to use the latest tinymce version too.

I don't think this has anything to do with the latest version of Chrome/Chromium but more so with TinyMCE 3.5.5+ released on July 7th, 2012. In other words, it won't work with CKeditor only TinyMCE.

See here for the feature release announcement on TinyMCE's website - http://www.tinymce.com/forum/viewtopic.php?id=29222

This release adds completely rewritten resize logic for images and tables on WebKit/Opera since those browsers lack native resize support in contentEditable. The custom resize logic we added mimics the one found in Gecko with resize handles and a ghost element while re-sizing. It also supports drag/drop something that the previous 3.5.4 version didn't support.
We also fixed a bunch of issues and pulled in quite a few pull requests. So a big thanks goes out to all the contributors.
See the changelog for more exact details on what we fixed since the last release.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

MakeOnlineShop’s picture

Hello, I still can't resize pictures in Chrome, maybe this solution for wordpress can be used in Drupal ?

http://wordpress.org/support/topic/solution-you-can-resize-images-in-chr...

Thanks.