Closed (duplicate)
Project:
IMCE
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Nov 2008 at 17:45 UTC
Updated:
3 Aug 2009 at 20:42 UTC
It's almost a complete bug report in one line. I've tested this on the IMCE demo page in FCKEditor. Same problem. I'm using version 6 of drupal and recent versions of IMCE and FCKEditor although that shouldn't matter.
Comments
Comment #1
franceslui commentedI have the same problem in my server and in the demo page as described in http://drupal.org/node/335967.
I would like to give more details so that the developers understand how to reproduce the annoying bug.
These are the steps to reproduce the bug:
Go to the demo page at http://ufku.com/drupal/imce/demo
Click the Insert/Edit Image toolbar button in the FCKeditor Demo.
Click the Link tab in the newly opened Image Properties window.
Click the Browse Server button.
Select any file and then click the Send to FCKEditor link at the top.
The URL field in the Link tab is not updated with the file I selected in the previous step.
Please note that if I use the built-in FCKeditor, I am able to use the Browse Server button to select a file and this file is automatically put in the URL field in the Link tab.
Please fix this bug as soon as possible because the link function is very important.
Comment #2
zoon_unit commentedI am having the same issue. IMCE will not populate the link field. Even more frustrating, I've tried installing the native FCKeditor file browser, following the instructions, but I can't get it to work! So I have NO viable file browser available to me!
Comment #3
crutch commentedCorrect the Link tab is not working properly or like I would expect.
--my workarounds--
Method 1. First add the image to the text area, then hyperlink to the image using the hyperlink button instead of the image button.
Method 2. You can right click over the image that you want to hyperlink to, while browsing, and get the url and copy and paste into the link field. But, it keeps the absolute URL instead of trimming and making it a relative URL. I usually just copy and paste the relative link portion and it is not a big issue if I just quickly add an absolute URL because both work.
--training content contributor--
The first method requires two steps if you want to train someone to use it and not confuse them. The second is for me because I can do everything in one swoop.
Testing Note: If trying to add a link using the Link tab, after highlighting an existing image already added to the content area; the existing image will be replaced by the one you are trying to hyperlink to; and keeps the aspect ratio of the original image before replacement.
Comment #4
7PEPO7 commentedHi.
Sorry for my 'not so good' english ;)
Lastly I installed Drupal 6 and FCKEditor + IMCE. And have the same problem. When I go to Link Tab and choose image, the URL field on Link Tab is not uptaded, but URL field on Image Info Tab.
I searched in the files of IMCE and FCKEditor and this is not fault of IMCE. It is FCKEditor fault. When click on Browse Srever Button in Link Tab, it generates wrong field addres for IMCE (not on Link Tab, but on Image Info Tab). To solve:
1. Open file
fckeditor.modulein DRUPAL6/modules/fckeditor2. Search these lines (in my file at 1052):
3. In marked line change text url@txtUrl to url@txtLnkUrl
That's all.
Comment #5
austintnacious commentedHi,
You're a star M8!
But, while that does indeed populate the "link" field in the IMCE pop-up window with the URL of the linked to image when I do click on OK and proceed to save the node I'm editing the thumbnail I have included in the body of the node (and tried to link to an enlargement) still does not link to the original image.
Looking at the source for the page it appears that either fck or imce has stripped out the tag.
I'd really love to see a fix for this ASAP!
Anyone have any ideas?
BTW, also, if I go back to edit the node and open up the IMCE placed image again to view / change its properties, IMCE (or is it FCK) does not know / remember the link URL I had previously selected using the "Browse" interface. . .
Comment #6
ufku commented#289205: IMCE integration issue (url@txtUrl/txtLnkUrl)
Comment #7
austintnacious commentedHold the bus!!!!!
What your changing here is how the URL field of the pop-up for the "Link" button is populated.
You are NOT changing the the way the "Place Image" pop-up windows' "Link" tab works.
So, while the solution you give above does populate the URL field of the "Link" tab of the "Place Image" pop-up (even though the link still does not work when the node is saved).
What happens is that the URL field of the "Link" pop-up dialogue then breaks!
That is use FCK to try to create a hyper-link from anything text or image.
You cannot populate the URL field using the "Browse" interface at all. . .
So change fckeditor.module back to the original and you can then edit the node again and apply a hyper-link to the image or text using FCK's "hyper-link" button.
(well you can in IE7 at least, somehow it still doesn't seem to work in FF)
Comment #8
ufku commentedComment #9
iantresman commentedI guess it's a duplicate of this post which suggests that it is an FCKeditor issue that IMCE can not fix.
The workaround for me, is not to select the Image Properties Link tab, but to select the FCKeditor Insert/Edit Link, where you get to Browse the server for the linked-to image.