1. Just want to say 'thanks' for the gallery module. Actually it was the reason for me to stick with Drupal, as the gallery module was the only one among others for other CMSs which provided a really good painless integration. Besides Drupal turned up to be an excellent CMS just for my needs.

2. Up to recently, I was running Drupal 4.7 with bluemarine theme + Gallery + the gallery module for Drupal. Everything was just perfect. Several days ago I upgraded to Drupal 5 beta + the gallery module for the 5th. I discovered some visual problems with the embedded Gallery page layout. There are additional horizontal lines. These problems are only for Firefox, not for IE (kind of a big surprise :-) ).

There is an image attached with 4 screenshots.

CommentFileSizeAuthor
#7 drupal_g2.css_.patch2.13 KBkiz_0987
ff.png16.53 KBsergserv

Comments

gentooruwest’s picture

I just want to add that I'm seeing the exact same problem on my site as well. I'm unable to locate what's causing the extra bar for firefox. This extra bar also appears in konqueror as well.

--jwest

gentooruwest’s picture

I have resolved this issue by making the following changes to "drupal_g2.css"

21a22,25
> #gallery tbody {
> border-top: none;
> }
>
161a166,170
> .gallery-grid-block tbody {
> border-top: none;
> }

Roi Danton’s picture

It's caused by the Garland theme, so an alternative to above solution is to disable it in the style.css of the theme

//Old
tr.even, tr.odd, tbody th {
  border: solid #d3e7f4;
  border-width: 1px 0;
}
//New
tr.even, tr.odd {
  border: solid #d3e7f4;
  border-width: 1px 0;
}
sergserv’s picture

Thanks guys, that worked.

Recently updated the whole site from scratch. Now: Drupla 5.0, and the recent gallery module. No need to modify anything. Everything seems fine. No additional lines!

sergserv’s picture

Forgot to say that no problem for the bluemarine theme, not garland.

sergserv’s picture

Sorry guys :)) Seems just the corrected CSS got stuck in the browser :)))) The lines are still there :))
Just clean up my last messages.

kiz_0987’s picture

Status: Active » Needs work
StatusFileSize
new2.13 KB

The attached patch helps Garland and Gallery2 Matrix themes, particularly for image frames. Tested in Safari and FF2. It is not yet perfect, particularly for polaroid and book (in FF). Anyone care to help out?

profix898’s picture

I'm using the following lines to remove the td padding for image frames & Co. No need to specify css for each image frame type separately. But of course this may have other side effects. However it works nicely on my 4.7 install ...

#gallery #gsThumbMatrix .giItemCell td,
#gallery #gsThumbMatrix .giAlbumCell td,
#gallery #gsImageView td {
	padding: 0px;
}
cryogenfx’s picture

after applying the last patch it worked for gallery overview, and viewing thuimbs in the gallery, but the large image is still screwed, and the random imageblock is also borked, in firefox. in Konqueror, everything works fine as far as frames are concerned, only the large image is centered to the right instead of centered.

as for the firefox issue, I'd love to help, but staring at all those "glyphs" for so long is hurting my head :P
only difference I found for the block and main were the normal one that is working nicely has class="ImageFrame_image giThumbnail" whereas the block random image is missing the giThumbnail class.
probably not much help, but there you go.

sergserv’s picture

The last patch by kiz_0987 works just fine for me.

kiz_0987’s picture

Committed patch above, but leaving open as I know it needs some work.

profix898’s picture

Version: 5.x-1.x-dev » 5.x-2.x-dev

Marked http://drupal.org/node/160864 as duplicate of this one.