Closed (won't fix)
Project:
Bootstrap - Photo Gallery
Version:
7.x-3.0
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
24 Jan 2014 at 21:47 UTC
Updated:
12 Feb 2015 at 03:38 UTC
Jump to comment: Most recent
Comments
Comment #1
tabestan commentedSo instead of using the feature provided, I created a view as specified in the documentation.
In Bootstrap Gallery settings, I added my image field and my title field. I put back jquery to 1.8. I can now see the modal.
How do I group them? Nothing happens when I click on "Next" or "Previous" in the modal.
How do I add a download link to the original image?
I added this code to bootstrap-gallery-modal.tpl.php, but nothing happens when I click:
Comment #2
tabestan commentedComment #3
kharbat commentedYou still need to specify the field image in the feature.. That's a bug I need to work on. As for the download button you can use jquery along with the button you added, I think this example might help: http://jsfiddle.net/HTggQ/
Comment #4
tabestan commentedWhat do you mean by specifying the field image in the feature? When I open the feature, I see the field image on the content-type installed by the module under field_instances and field_bases. I did specified the image field inside the view provided. Still the "Next" and "Previous" buttons don't work.
Documentation on how to reproduce the example will be a nice addition.
Comment #5
kharbat commentedI mean to set the image field source in the sample feautre view settings. In the "Format" section.
Please make sure Bootstrap is installed right and its scripts are included. And jQuery version is 1.7+
Otherwise please paste any console javascript errors.
Comment #6
madaerodog commentedHello, so I have a content type that has an image field that accepts multiple files. On my gallery page (that is a view using this module) I list all this nodes that have multiple pictures. But when I click on pictures the preview shows only the first picture in every group.
Do you have one node/image upload field for each picture in your demo?
Thank you
Comment #7
modellounge commentedRecheck your symbols
Comment #8
kharbat commentedMadaerodog multiple image fields are not supported. Each node represents one image.
Comment #9
JamesMugford commentedAhh I see, so should we use something like Field Collection if we would like to feed in multiple images from the same node?
Kind Regards,
James
Comment #10
ransomweaver commentedIf you edit your multiple image field in your view there is a Multiple field settings field set where you can uncheck "Display all values in the same row". This will get it to work, such that all the nodes that are included to the view have all their images treated as unique rows, and bootstrap gallery will make a gallery of them. If you want to restrict to a specific node, you need to filter for that node. Example, you might make a block view to do this, get the nid contextually, place the block content bottom and hide the image field from the node display. You'll have a grid of thumbs in the views block opening the gallery for the node.
Comment #11
kharbat commented