Topic on Extension talk:WYSIWYG

Rich Media Extention and Image Inserting Error

16
195.134.66.233 (talkcontribs)

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))

Thanks.

Charis

Ridmi (talkcontribs)

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.
HTH.

62.1.22.158 (talkcontribs)

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.

Ridmi (talkcontribs)
62.1.22.158 (talkcontribs)

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 1.7.0.2) WYSIWYG extension (Version 1.6.0_14 [B7], CKEditor 3.6 (revision 6902))

Thanks for your help!

Charis

Ridmi (talkcontribs)

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.

Harvas (talkcontribs)

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.

Charis

Ridmi (talkcontribs)

Yep. This issue is fixed.
Were you able to update your WYSIWYG to the latest stable version?

Harvas (talkcontribs)

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.

Ridmi (talkcontribs)

Can I access your wiki to see what's going on?

Ridmi (talkcontribs)

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.

Harvas (talkcontribs)

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.

Ridmi (talkcontribs)

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.

Harvas (talkcontribs)

Hi Ridmi. Yes, I have updated MW to 1.17.2 and installed 1.6.0.14 and now it works fine. So we can close this ticket and in case I have another issue I will open a new ticket. Cheers.

213.97.234.220 (talkcontribs)

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...
Thanks.

213.97.234.220 (talkcontribs)

Sorry Ridmi, I've found the link to 1.16.0_19 zip, i though that last version on the web included patches, now it works flawlesly :)

Reply to "Rich Media Extention and Image Inserting Error"