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.
Is there a way to list and insert the images attached by the imagefield module?
Comments
Comment #1
nubeli CreditAttribution: nubeli commentedThere's a common need for this. On one site I've been using imagefield_assist module, which has been a bit neglected lately, but appears to work well. It's based on img_assist. You use this button code to integrate it into BUeditor (it's very close to that used for img_assist):
It will show all the images uploaded to all nodes. The caveat is that you either use the default content type set up with an imagefield (in the latest dev from July 11, 2010) where you can upload images through the popup window, or you need to save whatever node you have the imagefield attached to before you will see it available in the popup for insertion into the textarea.
An alternative is listed on the main page of BUeditor (http://ufku.com/drupal/bueditor/contributions/imagecache). Or you can use methods that aren't integrated into BUeditor, such as the Insert module. It's not as elegant or user-friendly but it works. It won't, however, allow you to set classes to the image for styling.
Comment #2
ufku CreditAttribution: ufku commentedThis could be implemented by a custom button.