image picker does not display image title or description after upload of image (solved)

Dr Trichome - June 14, 2009 - 21:13
Project:Image Picker
Version:6.x-2.x-dev
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

I have installed the latest dev versions of Image Picker, Fckeditor, TinyMCE, and Lightbox2. The uploading of images works great, and the link to lightbox also works great. However, in the body section of the content (a Book page) where the image is displayed, neither the image title, nor the image description are displayed. I cannot find anything in the configuration settings that will enable their display. Any suggestions?

current configuration:
MAMP
Drupal 6.12
Image Picker 6.x-2.x-dev
Imagecache 6.x-2.0-beta9
Wysiwyg 6.x-2.0
IMCE Wysiwyg API bridge 6.x-1.0
IMCE Image 6.x-1.0-beta2
IMCE 6.x-1.2
Lightbox2 6.x-1.9

#1

hutch - June 15, 2009 - 08:34

If you look at the output, you will see that the title is in the alt tag and if you have selected a link it is in the title tag. The description appears when you choose 'Page' as the link type and the title is displayed as well.
I will look into providing this as an option for when show=full and link=none

#2

Dr Trichome - June 15, 2009 - 14:59

Thanks hutch!

It works just as you describe when I use "Page" as the link type. However, I really like to use Lightbox2 to view the full sized image, so I hope you will be able to provide an option to show the description with the thumbnail. Thanks again for your quick reply.

#3

hutch - June 15, 2009 - 20:56

This is doable and I will try to get this feature into dev sometime soon

#4

Dr Trichome - June 28, 2009 - 18:15

Hi Hutch,

First, thanks for adding the checkbox for the addition of the title and caption for imagepicker. However, this latest version of imagepicker does not insert images into text. I tested all options of input format, and made sure that images could be inserted using other modules (IMCE image, etc.). But when I click on the insert image button, nothing happens. I re-installed the previous version of image picker and it still works. What am I doing wrong? Thanks for your help.

#5

hutch - June 28, 2009 - 20:09

Oh dear, I don't know what this could be, I cannot replicate this at all. The only thing I can think of is that you do not have 'div' enabled in filtered HTML
Are you using a wysiwyg editor and if so which one?

#6

Dr Trichome - June 29, 2009 - 01:39

Hi Hutch,

I just tried it again and no luck. Images just do not get inserted. After installing the new module, I ran update.php, and clear both the browser cache (Firefox 3.0.11, MacOS 10.5) and the Drupal cache. I have div and img enabled in the filtered HTML settings. (by the way, how do I show my html tags without them getting processed? I think I should surround them with a php tag, but I don't kwow what that should be.)

I am using the Tiny MCE editor 3.2.4.1 and just updated the WYSIWYG module to 6.x-2.x-dev (2009-Jun-22).

Here is some other behavior that I just discovered:
When I remove the TinyMCE editor for filtered HTML, I still do not get image insertion into the body text. However, when I switch to full HTML, the image gets inserted but when I save the page, the image does not show up. When I revisit the page for a revision, the image is where it is supposed to be.

This seems to suggest that I have my input format screwed up somewhere, and the tags are getting stripped off for the display. I will check my Views settings to see if there is anything amiss there.

Also, I have the inline.module enabled for both files and images, in case this matters.

Thanks again for your help with this.

#7

Dr Trichome - June 29, 2009 - 02:00
Title:image picker does not display image title or description after upload of image» image picker does not display image title or description after upload of image (solved)

I think I have found why I am getting odd behavior. Typically, my images contain columns of objects. My image description is usually an ordered list with separate rows of text describing each column of objects in the image. I found that Image Picker will not insert the image into the body text when my image description field contains more than 1 row of text. By the way, this happens with both the FCK editor and the TinyMCE editor, and with no editor enabled (Filtered and full HTML input formats). When I use only a single line of text for the description, then Image Picker works perfectly with both editors. I will add a feature request for multiple lines in the image description. : ) Thanks again for your quick reply and such a wonderful module.

#8

hutch - June 29, 2009 - 12:02

I have to admit that I never tested the description with anything more than one line of text, or with html included. I will have a look ASAP
At the moment I don't know wether Drupal's HTML filtering can be applied to a non-node form element, it probably can....

#9

hutch - July 2, 2009 - 10:42
Status:active» needs review

multiline support added to dev

#10

Dr Trichome - July 14, 2009 - 20:33
Status:needs review» fixed

Thanks!

#11

System Message - July 28, 2009 - 20:40
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.