I kind of want to go a middle way down the entire "show node inside colorbox" and just let it show an image; What I want to let it do, is, when viewing a picture from within a node, you should be able to see:

  • Tags
  • File information (i.e. resolution, size)
  • Link directly to the image itself
  • Link to add comments

Is this at all possible?

Comments

frjo’s picture

You can use the Colorbox trigger fields in Views.

trillex’s picture

I've tried using the trigger, but that just seems to be a trigger to open up the node/image/content with colorbox rather than go directly to it.

What I mean is that I want the colorbox to auto size to the image + padding at the bottom, where this information could be found.

tbenice’s picture

You can do that by using the colorbox trigger. Pull all of the fields that you want to show into the view (tags, title, link, etc), and pull a duplicate version of your image -- exclude them all from the display. Then create a rewritten custom text field that includes all of the tokens (fields) that you want to include. Then use a colorbox trigger field to pop open the custom text field using your original image as the trigger.

As an alternative to using a custom field, you can pull the views-view-field tpl for the duplicate image field and write in all of the other fields you've pulled into the markup. Then use the duplicate image as the colorbox content and the original image as the trigger in your colorbox trigger field.

lsolesen’s picture

Status: Active » Fixed

Seems to be an answer to setting to fixed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.