Hi
i would to know if it's possible to use a node containing multiple images to make one slideshow splitting images to display theme separately...actually i must create as many node as images number...it would be great if only one node can be created to do the same...
thanks
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | vue-diapo-slideshow-multimage.txt | 4.33 KB | aiphes |
Comments
Comment #1
aipheshere is my view code...all works well but views display empty fields , like if you put 2 images and you have 4 fields , views'll display the fourth fields, whitout checking if the field is empty or not...
Comment #2
redndahead commentedOk so I don't fully understand what you are after, but maybe this tutorial will help. http://drupal.org/node/814132
Comment #3
aiphesthanks for the tuto, i myself inspired by it,
and i think it solved my issue, because the filter [Your Image Field] - list seem to exclude empty field to display...that i would to do...
so what's the difference (and the action) between [Your Image Field] - list and [Your Image Field] - delta?
thanks
Comment #4
redndahead commentedDelta is just the image number. So it would return 1, 2, 3, 4, etc. for each image.
Comment #5
aiphesJust a tweak , i would to display result only if there are files , this my code to embed view that works :
but this doesnt work, nothing is displayed instead of there are images in fields...
so how to test if fields empty and display or not the div ?
thanks
Comment #6
aiphesComment #7
aiphesnobody knows how to test if fielfield is empty or not ? actually images are displayed line by line, not in slideshow, i check "group items" but no effect...
actually items are multiple display 4 times !...look at : http://www.lycee-celony.com/fiche-formation/bac-artisanat-et-metiers-d-a...
Comment #8
aiphesComment #9
redndahead commentedTry adding a filter for the image fid. Set to is not empty. That's your best bet.
Comment #10
aiphesok, but what the image fid filter ? where i can find it ? actually i use : node published filter, node type filter and content : filefield list...
Comment #11
redndahead commentedOk I would have though you used imagefield. But since you don't it may be content: filefield and try to make sure it is not null.
Comment #12
pmathur01 commentedHi In my case I do not have [Your Image Field] - list but just image, [Your Image Field] - data and [Your Image Field] - delta.
What should I add? My images when empty are still displayed with "?"
Thanks,
Comment #13
redndahead commentedProbably the data.
Comment #14
pmathur01 commenteddata represents the description associated with the image and the image has no data. I changed it to data and nothing gets displayed. I have even checked Hide if there are no images and still i see blank images and the counter says 1 of 10 when there are actually 8 images.
Thanks,
Comment #15
redndahead commentedCan you try using the unformatted style and tell me if it still prints out the unused images?
Comment #16
pmathur01 commentedNo. I am not getting that problem in unformatted mode.
Comment #17
aiphes@redndahead : i'm using content : filefield list ; so it let me choose the delta one...maybe it will be better to use imagefield ? but actually i'm using a filefield widget imagefield (file)..what i can do more ? or different
Comment #18
aiphesthis code work well to includes the view into node if cck are not empty, but empty fields are displayed instead of i check do not this...:/
EDIT: after search, it appear to be an issue whith imagecache...empty fields are not displayed...ouff...little fear inside me
Comment #19
aiphesComment #20
lupus78 commentedSettings a Filter on [Your Image Field] - list to check if it's true, solved the problem for me!
Comment #21
pmathur01 commentedThanks a lot..This solved it..
Prerna.
Comment #22
aiphescan you explain how to do ? i never use filter on CCK fields...
thanks
Comment #23
pmathur01 commentedHi,
First in "Fields" I choose My Image field "Content:Image". This field contains 10 images. In its settings I selected hide if empty here.
In Filter I selected Node Type= "Your Content Type" and Content:Image-list = true. (This solved the above issue)
Then select the slideshow mode, in my case I used single frame and used a pager of type thumbnail.
To make it link to the same node, in arguments I selected Node: nid, Settings: -> Provide default argument -> Node ID from URL.
I guess that is it. Hope it helps.
Prerna.
Comment #24
aiphesi've the same filters than you, in addition i've the "node published=yes".
In fields i've my field "field_diapo_fiche_flash" content=image, and applied a IC profile.
I've the same arguments as yours.
Same style : diaporama , in display as a block and ajax enabled for views.
So i think about an imagecache issue..because new images are not created (no new folder) on server...view slideshow seem to work right
Comment #25
pmathur01 commentedI do not have ajax enabled. Did u check removing that?
Comment #26
aiphesno change without ajax...very strange behavior
Comment #27
timmyriddle commentedI'm having massive trouble trying to get multiple images from the same node to be displayed as a slideshow under Drupal 7 / Views 3. Is this a limitation of the module or am I doing something wrong?
Comment #28
redndahead commentedThis is an old issue and I think the 2.x issues have been fixed. There is documentation on how to do that for 2.x. Other than the views ui the steps are about the same.