Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Imagefield is generally working great for me, as a CCK field in a node display. But:
- My node displays the filename of my image as the link. How can I change the text from the image filename, to "Click here".
- Before the filename, is a rectangular image icon. I could use CSS to hide it, but is there an easier way to either disable it, or replace it?
- When I upload my image, a thumbnail is created automatically (I am not using imagecache). How can I display this thumbail, optionally as a link?
- In display fields, I've selected Lightbox iFrame, and when I click the link an iFrame pops up. But how can I (a) scale the image to fit the small iFrame (b) change the size of the iFrame?
Comments
Comment #1
iantresman CreditAttribution: iantresman commentedI think I've solved part of this. By enabling ImageCache and creating a preset that scales to 100% (ie. it effectively does nothing), the ImageField display field now has three times the number of available options for displaying the image. So: