Closed (won't fix)
Project:
Image
Version:
6.x-1.x-dev
Component:
image.module
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
28 Apr 2006 at 03:22 UTC
Updated:
2 May 2006 at 14:47 UTC
I have a site I am looking to convert to drupal. Right now, it is a home-grown templating system based on class.rFastTemplate.php which I wrote some time back. It works well, but is somewhat limited for reasons that aren't relevant here....
Many of my images, e.g., http://www.astrofoto.org/gallery/constellations/view.html/cap, have rollovers which are the exact same image with some labelling.
What I would love to be able to do is to submit both images at the same time so that the image module can geneate the mouseover code correctly and so that different size versions stay correlated.
Comments
Comment #1
kuahyeow commentedHowever, maybe the AJAX module can do that for you?
Comment #2
rbroberts commentedI suppose I could use ajax, but the question is do I need to put in that amount of overhead to get this effect? And if I do, does it buy me some other things? More importantly, is a simple image rollover simple to do? On my non-drupal site, they're easy and they're fast (especially compared to lightbox2 which I was trying to use).
Comment #3
Bèr Kessels commentedThis is done in the theme, in Drupal.
If you miss any theme functions or theme features, please open a detail feature request on a specific theme function.
It certainly is not an image.module feature.
Comment #4
rbroberts commentedCould you explain why it is a theme function? The theme doesn't upload the image and the theme doesn't upload the image and the theme doesn't provide the functions to convert the image metadata into HTML for the page, so why is the mouseover a theme function rather than part of the image module? I'm a newbie with Drupal, so I'm not clear on the distinctions as to what belongs where.....
Comment #5
Bèr Kessels commentedWhen looking in more detail at the example you provide, I see that in fact you ask for two features:
* being able to upload two images in one node.
* being able to overlay these images in HTML
#1 is not an option. You should use flexinode instead.
#2 is done using themes. Please refer to the theming manual for how to theme posts. In Drupal, anything that affects the outputted HTML, ca n be seen as theming.
Comment #6
rbroberts commentedThanks for the update---I think I've confused image.module with the image module. I'll take it up there and with img_assist which is probably the more appropriate place.