Hi,

here is my problem: When I upload pictures, the two last pictures of the gallery (AD Gallery) display on a second row into thumbnails block, could anyone help me ?

(As you can see on screenshot)

PS: Sorry for my bad English, I'm French.

Thanks,
Fab.

CommentFileSizeAuthor
#7 HongKong _ Olivier Baron - Photographies.png569.57 KBdbeall
tworows.jpg159.75 KBAnonymous (not verified)

Comments

dbeall’s picture

Category: bug » support
Priority: Major » Normal

If you post the URL of the web site, I can look at the css to see what is causing it. It could be something in your theme css, or you may have to adjust the node_gallery_display/js/ad-gallery/jquery.ad-gallery.css

Anonymous’s picture

Thanks.

dbeall’s picture

it looks like your thumbnails are 50 x 50, but the default is 100 x 100. The allowed size(height) of the div(block level element) that holds the thumbnails is letting them go to 2 rows.

It is my *guess* to adjust the (height:135px;) to something like (height:85px;)
node_gallery_display/js/ad-gallery/jquery.ad-gallery.css

.ad-gallery .ad-thumbs .ad-thumb-list {
float: left;
list-style: none;
height:135px;
}

I would say to play with the height, clear the drupal cache, and the browser cache if needed to see the change.

Anonymous’s picture

I did it, and fixed height to 55px, but the thumbnails disappeared, and not appeared in an other place, so I think it doesn't work.

Look, if you click on the last thumbnail on the last, then, you click on "next" button, on top right of the picture, you go to an other picture which isn't in the list.

I don't understand..Can't it come from the js ?

dbeall’s picture

55px is not enough height.

dbeall’s picture

I just now looked at the page and it looks ok to me

dbeall’s picture

StatusFileSize
new569.57 KB

screen shot

Anonymous’s picture

Yes, it's look ok to me too. But the functionnement isn't look ok to me. Look, click on the right arrow of the thumbnail list. When you are are on the last thumbnail, click on it. Then, click on the right arrow, on the right of the picture now. You see that there are still pictures which not appear in thumbnail list. No ?

dbeall’s picture

yes, I see the navigation issue, but that is different problem and it is the same way on my test site.
The developer would have to work on fixing that.
You might want to file a new issue for it, since this one is considered as solved.

Anonymous’s picture

It comes from AD Gallery directly ?

dbeall’s picture

not sure, I don't have a gallery with that many images, but the next control is displayed on the last image and shows the first image when clicked

maybe check the node_gallery common settings for the number of thumbnails displayed

admin > site configuration > node gallery > common settings
Enter the Number of images displayed on each gallery thumbnail page:

Anonymous’s picture

I've already entered a high number, 100 thumbnails. Nobody has ever met the same issue ?

dbeall’s picture

This might be the fix that..

from the node_gallery_display issue queue
http://drupal.org/node/834250
http://drupal.org/node/834250#comment-3131916

I had the same problem with my gallery and fixed by making the following changes to the jquery.ad-gallery.css stylesheet:

1. Increasing the standard width from 6000 to 9000px, Firebug tells me that 28 thumbnails will gobble up about 3020px, so this is something to bear in mind for people with larger galleries:

.ad-gallery .ad-thumbs .ad-thumb-list {
float: left;
width: 9000px;
list-style: none;
height:110px;
}

Anonymous’s picture

It works.

Thanks a lot, I read this post, but not the end..

Thanks again !

dbeall’s picture

yea, the issues get buried due to multiple problems in one thread.. The good thing about node_gallery_display is there aren't too many to look through..

Glad it's workin..

Looks like you need some css adjustment to hold content away from the graphic on your theme(top left corner)
edit::
You might be able to add a z-index:100; to that image to keep it on top..