I am using the RSS Aggregation module and I *just* want the thumbnail version of the images displayed next to the item text in a tooltip when the mouse hovers over each item. But all I get is text. I even tried replacing Aggregation module with the FeedAPI module because of this. But using FeedAPI I get no tooltips at all. I'd code a work-around if I only knew where to start.

After hours and hours of pouring over this problem coming up with zilch, nada, niente, ingenting, I pretty much just feel like hitting something. :)

Petter

Comments

PWG’s picture

Ok, I forgot I was using the excerpt module to create tooltips in the first place. So I suppose first step is to choose to alter the tooltip in either the excerpt module (or equivalent module) or directly in node-SOMENODE.tpl. Then using a href=.... img src=PATH_TO_IMAGE> an image will be displayed in the tooltip. Still one, highly irritating problem: I don't know the path... How do I get the filepath to feed image??? It seems not to be saved anywhere, just linked somehow.

PWG’s picture

Since the image path was in an img tag in $content (which can be addressed in node-XXX.tpl) I ended up extracting the path from there and then put it in the code like this: <a href="<?php print $node_url?>" title = "<<?php print $tooltip_with_image ?>"><?php print $title ?></a> At least that's the core of what I did. However, since some images are quite big (20k or so) I'll need to resize them and cache them somehow before I'm happy. Imagecache reputedly does not work with external urls so I'll have to come up with something else. Feel free to make a suggestion. :)

chrispooh’s picture

Hi PWG, i would like to use tooltip for aggregation module. How did you do that?