Thank you for the IMCE module. I am testing IMCE with fckeditor and trying to insert an image with a link to another image. eg thumbnail to full size image. I presume that the correct way to do this is to click on the insert/edit image button on the fckeditor toolbar and to select the thumbnail image first in the image info tab and then in the link tab (within the same image properties dialog box) click on the browse server button and locate the full size image that you wish to link to. When I do this, nothing appears in the url field on the link tab, but the url in the image info tab is overwritten with the new selected image. This occurs for me on my drupal 5 beta 2 test site and also on your demo site.

Thanks in advance for your help.

Comments

ufku’s picture

Status: Active » Needs review
StatusFileSize
new1.05 KB

please try this patch that differentiates between image and link buttons.

Paul Adler’s picture

Applied the patch and all is working well now. Thank you very much.

Paul Adler’s picture

On further testing I have found one issue. If you first select the image to be displayed and then select the linked image as per the tab order, then the image properties (eg. height and width) of the linked image will be used for the image that is displayed. This is particularly evident when you are displaying a thumbnail and linking to a larger image. The thumbnail will be set to the dimensions of the larger image.

ufku’s picture

Category: support » bug
StatusFileSize
new1.54 KB

confirmed. here is a patch covering both issues.

Paul Adler’s picture

Status: Needs review » Fixed

Patch works well. Thanks a lot.

Anonymous’s picture

Status: Fixed » Closed (fixed)