Closed (outdated)
Project:
Gallery formatter
Version:
7.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
8 Aug 2011 at 18:28 UTC
Updated:
13 Nov 2024 at 10:35 UTC
Jump to comment: Most recent
Comments
Comment #1
DRIVE commentedYou can do it, but you need a more advanced View.
You'll have to use "rewrite the output of this field" for the images and use Tokens to tokenize the li's in your unformatted list. You will also need another image field and rewrite the output of that as well, for the thumbnail carousel. If you dont want the thumbnails/carousel you might have to adjust the JS for GF to avoid errors when jQuery and GF Javascript runs... not sure but "probably" :D
Usage of a header and footer will probably make it easier as well.... to create the "wrapper div" which would simulate "Gallery Formatter" output.
Basically, you will be using views to create the same structure from the opening Galleryformatter div to the closing div (which is why I say usage of header and footer for view might be easiest (only?) way to get the fully/properly structured div container for the gallery.
The thumbnails will have to match the order of the slides too, so on the second image field (possibly both image fields) you might have to use some PHP in your view to order both the slides and thumbnails so that the output is in the same order.... Slide one is in the same "li" position in the container for the thumbs, slide 2 is in same position etc. etc...
A fairly advanced View to build but it can be done. You will have to add all CSS classes as necessary. It *might* be possible to use the galleryformatter.tpl.php as the base for a Views template but even if so, you still have to rewrite and tokenize the output so you wind up with a valid GF structure.... also, make sure all CSS and JS for GF gets run when your View is called into action.
Sample GF output on a gallery with 9 images:
Comment #2
mefisto75 commentedThank you Drive. Will explore.
Comment #3
DRIVE commentedI wish I had something close to what you are working with. I work a lot with taxonomies but I just dont have any Views that deal with that or I would happily send it.
The closest thing I have with taxonomy and GF is just collecting paged teaser listings of Galleries that belong to "X" taxonomy. I havent done anything with gathering individual collections of images based on taxonomy and then creating a gallery on the fly. I did experiment with it months ago before the latest version of Views came out and I do recall getting to a point to where I am fairly positive it can be done gracefully and effectively :D
Post back if you make any progress if you dont mind. If you get that flying it would be a biggie to a lot of people I am quite sure. If I go down that road again I will be sure to post as well. Have been focusing on other issues though.... client work and other features for GF so just dont have time to delve into it with some nuts and bolts hands on help.... sorry but good luck until then!!
Comment #4
astonvictor commentedI'm closing it because the issue was created a long time ago without any further steps.
if you still need it then raise a new one.
thanks