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 |
Jump to:
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?
| Attachment | Size |
|---|---|
| screen.jpg | 503.31 KB |

#1
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
I have the same problem. I installed the gallery according to the instructions but I have no idea why this is happening.
#3
@ 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
I got the same problem, please advice ;)
#5
have the same problem, i guess there will be no fixes :-/
#6
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
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
Go ahead and give 6.x-1.4 a try and see if that fixes the issue.
#9
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
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
As someone stated earlier, only 1 image per node is shown. Unless stated otherwise, I believe this issue is fixed with 1.4
#12
Automatically closed -- issue fixed for 2 weeks with no activity.