hi everyone.
first of all i'd like to say that i like your module very much indeed. its easy to set up, easy to use and it looks awesome!

but now: is it possible to display all images in one node in a slideshow?

the scenario is as follows: i have a content-profile node where users can upload an unlimited number of images (limited only by overall file size). now i would like to have all these images displayed in one single slideshow on the user's profile page. is there a way to achieve this?

what i did so far:
- set up a content type 'profile' with unlimited image uploads
- set up a view that would produce a block, following the nivo-setup instructions.
- call the block on the profile via module_invoke in user-profile.tpl.php

this is working fine with any other content except nivo slider. the slider block returns 'unbekannter fehler' (i.e. 'unknown error').

any ideas?
thanks in advance!

Comments

pedrofaria’s picture

Hello bozo meier,

First, thanks for your words, i really appreciate it...

A good solution is create a region on your template and add the slide show as a views:block OR you can use Panels module with user context to build up your profile screen.

I guess this post help you..

pedrofaria

mybinaryromance’s picture

eeeeeeeeeh - nope...

the first thing i have to add is: the error message i get is NOT caused by nivo slider module. i changed the view to show the images in a grid, which still doesn't work. so i think i am missing something in my views setup.

maybe you can provide an overview of steps to take to show all images from one cck field from one node in a slider?

teodor.sandu’s picture

bump.. anyone interested in this? i'd like to see a solution, i'm pretty curious myself..

Nitebreed’s picture

Well, what I did is the following:

  • Create new content type (i.e. 'Product')
  • Add image field to it (with unlimited uploads)
  • Choose 'exclude from $content' on display for image field
  • Create two imagecache presets (i.e. 'thumbnail' and 'original')
  • Create view 'image_slider':
    • Filter: Node type = product
    • Field: Content: Image (display as Image) (Don't group multiple values!)
    • Style: Views Nivo Slider and Row Style: Views Nivo Slider (Choose the settings you like for your style)
    • Add Argument: Node NID

So that's very straightforward. Then I created an node-product.tpl.php page and called the following view in it:

<?php
  $viewName = 'image_slider';
  $display_id = 'block_1';
  $id = $node->nid;
  print views_embed_view($viewName, $display_id, $id);
?>

That's really all there is to it. The view only shows the images from the current node.

pedrofaria’s picture

fixed?

teodor.sandu’s picture

fine by me :)

pedrofaria’s picture

Status: Active » Fixed
Nitebreed’s picture

Glad that I could help :)

Status: Fixed » Closed (fixed)

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

knalstaaf’s picture

Version: 6.x-2.0 » 7.x-2.x-dev

It's only showing one slide, but three navigation dots below (total amount of pictures) are showing correctly. However, Nivo slider keeps repeating the first image instead of the other two.

I'm using Drupal 7 and Views 3.

knalstaaf’s picture

Status: Closed (fixed) » Needs review
SilviuChingaru’s picture

Version: 7.x-2.x-dev » 6.x-2.0

For me also 1 slide with multiple nav dots...

knalstaaf’s picture

ckng’s picture

Status: Needs review » Postponed (maintainer needs more info)

Is this fixed?

bryancasler’s picture

Status: Postponed (maintainer needs more info) » Needs review