Only first image is shown in gallery

Airwaver - December 1, 2008 - 20:18
Project:Simple Gallery
Version:6.x-1.4
Component:Miscellaneous
Category:support request
Priority:critical
Assigned:Unassigned
Status:closed
Description

I've installed the module following the Read Me and this link:http://drupal.org/node/306220

I've got the gallery almost completly working but I'm still having a problem. My gallery shows only the first image of the album.
In the screenshot (attatched file) You see I've uploaded two pictures to test. Both pictures on the same content page I've created. But it only shows the first one.

What am I doing wrong?

AttachmentSize
screen.jpg503.31 KB

#1

Airwaver - December 1, 2008 - 20:27
Version:6.x-1.x-dev» 6.x-1.3

EDIT: I use version 1.3 --> NOT 1.x dev
EDIT: The nummber of images in the Simple gallery settings are more than 1 :) But still only the first image is shown

Screen also available at: http://www.wastedlife.nl/images/screen.jpg

#2

raskolt - December 7, 2008 - 22:08

I have the same problem. I installed the gallery according to the instructions but I have no idea why this is happening.

#3

Airwaver - December 8, 2008 - 18:10

@ Raskolt.

I didnt find a solution to solve this problem and nobody from the module is helping.

I advise you use the module Imagepicker. http://drupal.org/project/imagepicker

Its a lot easier to install and it works even more userfriendly.

#4

Vizor - January 2, 2009 - 02:26

I got the same problem, please advice ;)

#5

vertazzar - January 24, 2009 - 16:08

have the same problem, i guess there will be no fixes :-/

#6

ComputerWolf - January 25, 2009 - 14:05

I would fix it if I could replicate the issue. I am unable to make it show only one image on any of my installations. If anyone who is having this issue would like to collaborate further please contact me so I can fix this issue.

#7

0000sir - March 10, 2009 - 03:23

I fixed this.
replace these in simplegallery.module on line 168.
$rows[0]['data'][] = l(theme('imagecache', $imagecache, $node->{$imagefield}[0]['filepath']),$node->{$imagefield}[0]['filepath'], array('attributes' => array('rel' => 'lightbox[' . $term->name . ']', 'title' => $node->{$imagefield}[0]['data']['title']), 'html'=>TRUE));

with these

for($i=0;$i<count($node->{$imagefield});$i++){
          $rows[$i/$numimages]['data'][] = l(theme('imagecache', $imagecache, $node->{$imagefield}[$i]['filepath']),$node->{$imagefield}[$i]['filepath'], array('attributes' => array('rel' => 'lightbox[' . $term->name . ']', 'title' => $node->{$imagefield}[$i]['data']['title']), 'html'=>TRUE));
        }

it works for me.
Great module!

BTW: I can't login drupal.org with my drupalchina.org account now, why? so does drupaltaiwan.org

#8

ComputerWolf - March 10, 2009 - 07:23

Go ahead and give 6.x-1.4 a try and see if that fixes the issue.

#9

K3D - March 11, 2009 - 14:50

I was having this issue and it turns out if you set the RSS publishing to 1 item, you only get one item shown for each album on the gallery.

edit:
Actually I think there are two issues. The first one I noticed after managing to look at the attached screenshot, it seems that the original poster was attaching 2 images to one node. When I read detailed installation instructions I was under the impression that a new node should be created for each image added.

The second is the issue I was having which is controlled by RSS publishing and is the preview images shown on the xxxxx.xxx/gallery page

#10

OnlineWD™ - May 23, 2009 - 00:15
Version:6.x-1.3» 6.x-1.4

Subscribing, have this problem with 1.4. Items in gallery says 1 when there are 2 being displayed in teaser, press show all and only the first is shown.

#11

ComputerWolf - August 31, 2009 - 09:58
Status:active» fixed

As someone stated earlier, only 1 image per node is shown. Unless stated otherwise, I believe this issue is fixed with 1.4

#12

System Message - September 14, 2009 - 10:00
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.