Closed (fixed)
Project:
Image Browser
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
26 Oct 2009 at 03:48 UTC
Updated:
5 Feb 2010 at 10:19 UTC
I love image browser and it's working great for me. Now I'm trying to create a view that pulls the node title and the image that was uploaded in the body of that node (without the text). I can't seem to find a way to do that in Views. Is this possible?
Comments
Comment #1
scroogie commentedYes, change the view to field based display and insert the two fields.
Comment #2
Mindy commentedThanks for your response scroogie. In the Basic Settings for my View, I have "Row Style" set to "fields". Then I when I go to add a field, what should I be looking for? I see one field called "Image: image", but nothing displays when I use it. Should I be looking for something like "Node: image"?
Comment #3
scroogie commentedAh, sorry. I confused the issue queues of imagebrowser and imagefield. Imagebrowser only inserts a tag in the node body, so views cannot derive the information of attached images from the database. What you can do is create a template called
views-view-row-node--{NAMEOFYOURVIEW}.tpl.php
in your theme folder in which you display only the image and title. Or similarily with the field-based approach:
views-view-field--{NAMEOFYOURVIEW}--body.tpl.php
hth
Comment #4
Mindy commentedMany thanks! I will give that a shot.
Cheers!
Comment #5
peter törnstrand commented