Rich Media Extention and Image Inserting Error
Hi all. First of all this is a great extension but I have too significant issues: (a) When inserting an image if I provide a URL, the image appears fine on the editor, but when I save it in the text it provides the link and not the actual image. Even worse, when this image also has a link assigned to it (if clicked that is) then not even the URL mentioned before is inserted on the actual page, (b) I want to enable uploading of images as well, but I get the notification about the Rich Media Extension. However I cannot seem to find an installation that would work under my environment or an integration with CKFinder. Any tips on this? These are both important and urgent issues. The versions I am using are: MediaWiki 1.16.0 PHP 5.3.5 (cgi-fcgi) MySQL 5.0.67-community-nt WYSIWYG extension (Version 1.6.0_0 [B8], CKEditor 3.6 (revision 6902))
Hi there. You are right, CKEditor allows pasting images into html as data URI, but mediawiki doesn't know how to handle it.
There is an open issue about it: Issue 15629 - Pasting images from clipboard into ckeditor is misleading
You have to upload image file to your wiki to be able to assign a link to it.
You don't have to install RichMedia Extension for uploading simple images. Uploading is done on a special wiki page: Special:Upload.
After you have uploaded your image you can select it in WYSIWYG image dialog.
Just start typing your image file name in the "image file name" field.
Thanks Ridmi for you advice. I have tried a lot of things over the past few days and I am getting rather frustrated at this point. I have eventually ended up to follow your advice. However, the last problem I face is with the image and link dialogs. I have not installed HALO ACL (I could not make it to work) or SMW+. The issue now is that by clicking the image or link toolbar images, brings up the Image Properties and the Link Properties dialogs and not the MediaWiki Image Properties and the MediaWiki Links Properties as you are referring or how it is present in the Sandbox. I have tried to "hack" the extensions\WYSIWYG\ckeditor\plugins\mediawiki\plugin.js, but no luck. I am currently using: config.toolbar = 'Full'; in the config.js in the ckeditor path. Any prompt help is highly appreciated. Thanks a million Ridmi.
Last edit: 18:04, 15 March 2012
The wrong dialog issue is fixed already.
Please update your WYSIWYG extension.
The instructions are here: How to update WYSIWYG extension
Hi Ridmi. Thanks again for the prompt response. Unfortunately I have used both wysiwyg-1.5.6_18 and wysiwyg-1.6.0_14 from the update site you have sent me. Unfortunately none of them fixed the dialog issue I have mentioned above. This still brings up the Image Properties dialog rather than the Mediawiki Image dialog. Am I doing something wrong? Is there any other setting I need to update? I am using the following: MediaWiki: 1.16.0 PHP: 5.3.5 (cgi-fcgi) MySQL: 5.0.67-community-nt Semantic Forms (Version 2.4) Semantic MediaWiki (Version 188.8.131.52) WYSIWYG extension (Version 1.6.0_14 [B7], CKEditor 3.6 (revision 6902))
Thanks for your help!
Please post some screenshots of a dialogs to make sure we are talking about the same thing.
Also I've noticed you are using the latest Semantic Mediawiki and Semantic Forms, but an old MediaWiki.
I would also suggest updating your MediaWiki.
Hi Ridmi, thanks for the prompt responses much appreciated. Well the current view of the image and link dialogs I have right now is the following: http://imageshack.us/photo/my-images/718/currentview.png/ While the one I want to achieve (MWLink and MWImage) is the one on the WYSIWYG Sandbox: http://imageshack.us/photo/my-images/215/wysiwygsandbox.png/
How can this be achieved? I will update to 1.17, however I cannot see how this is affecting the editor issue. Is there a relation? Thanks again.
Yep. This issue is fixed.
Were you able to update your WYSIWYG to the latest stable version?
Yes. As I have mentioned above, I have used both WYSIWYG extension (version 1.6.0_14 and version 1.5.6_18) both from the update site you have suggested. I cannot seem to find the source of the problem. I have installed the extension with all the default settings but still no go. At this point I am open to your suggestions. Thanks.
Also please clear your browser cache and if this doesn't help then see if this is happening in different browsers e.g. Firefox, Chrome etc.
Hi Ridmi. Yes, I have tried different browsers with cleared cache and still doesn't work. In IE it didn't load at all. Firefox and Chrome behave as already mentioned. You can use my test site at the following URL: http://test.fines-cluster.eu/fines/mw/. Thank in advance for the help.
The WYSIWYG version on this site is 1.5.6_18 and not 1.6.0_14.
Please use Web Administration Tool to remove the old version and install the new one.
Ridmi said: You don't have to install RichMedia Extension for uploading simple images. Uploading is done on a special wiki page: Special:Upload. After you have uploaded your image you can select it in WYSIWYG image dialog. Just start typing your image file name in the image file name field.
Hi, I have a problem with this, I dont have "image file name" field, I only have URL and "Alternative text", and URL field does not have autocompletion help for find the desired image file, so....
MW version: 1.17.3, WYSIWYG version: 1.6.0_0 (CKEditor 3.6), I have downloaded and installed today, so I imagine the version is up to date...