Configuration of module Image Assist
Image Assist's documentation mentions the possibility of customizing the display that is used to choose an image. Here are more details on how to do this.
Image Assist's documentation mentions the possibility of customizing the display that is used to choose an image:
Optionally go to the Views administration page and edit or clone Image Assist's default 'img_assist_browser' view for the image browser. If you intend to make major changes to the default view, you should click on 'Clone' and modify the new (duplicated) view instead. When you are done, enable this view on Image Assist's settings page.
To make this work, you might need some more information. In a nutshell, if you create a new view to display the images, you need to make the images links to the image assist properties dialog for that image, rather than to (say) the image page itself. The syntax for this link is: img_assist/properties/[nid] -- using this in the "Output field as link" dialog will create the correct link.
Here are the steps to create a simple replacement display for the Image Assist browser, that displays 24 images per page, includes both the image and the title, and shows the caption as a tooltip.
- Go to Views (admin > build > views), and clone the img_assist_browser view.
- Change the Row Style to "Fields".
- Add fields "Node: Nid", "Node: Body", "Image: Image", and "Node: Title".
- Set "Node: Nid" and "Node: Body" to be excluded from the display, and rearrange the order so that they come before "Image: Image" and "Node: Title".
- Edit the "Image: Image" field to "Output this field as a link", and in Link path: enter
img_assist/properties/[nid]and in "Alt text" enter[body]. - Change the title to something else (so you can tell it apart from the original).
- Save the view.
- Go to Image Assist settings (admin > settings > img_assist) and under "Access settings" add the newly created view to "Image browser views". You should also leave the original "Image assist thumbnail browser" view, because there is not (yet) an option to change the default browser view.
- Test it out!
Help improve this page
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion