Embedded G2 block is shrunken

chrisfive

Joined: 2005-10-19
Posts: 12
Posted: Mon, 2005-10-24 20:15

A quick question:
I have G2 embedded in Drupal 4.6.3. I noticed that the embedded gallery block is scaled smaller than the non-embedded version. I would like to have it display 100%. Where is the scaling factor set, CSS?

Example at:
Link removed.

Thanks

 
chrisfive

Joined: 2005-10-19
Posts: 12
Posted: Mon, 2005-10-24 20:49

I think it has to do with the particular style (in my case Matrix) using "em" instead of "px". There is likely a cumulative effect going on due to G2 being embedded. I think I'll create a style that uses pixel sizes (quick fix).

 
kiz_0987

Joined: 2005-02-27
Posts: 189
Posted: Mon, 2005-10-24 20:54

If you want, see the gallery module version in http://drupal.org/node/32393 which has a css file that is roughly compatible with Matrix.

 
chrisfive

Joined: 2005-10-19
Posts: 12
Posted: Mon, 2005-10-24 21:34

kiz,
Once again you've proven quick w/ the answers. Re your enhanced gallery.module, thanks for beautifying your code; version 1.11 is a lesson in whitespace disaster. Gonna try this out. Thanks.

 
chrisfive

Joined: 2005-10-19
Posts: 12
Posted: Mon, 2005-10-24 21:58

Problem with applying patch gallery.module.kiz0987.v1.1.patch to the enhanced version.

Quote:
patching file gallery.module
Hunk #1 FAILED at 1.
Hunk #2 succeeded at 79 (offset 35 lines).
Hunk #3 FAILED at 135.
Hunk #4 FAILED at 166.
Hunk #5 FAILED at 193.
Hunk #6 FAILED at 232.
Hunk #7 FAILED at 306.
Hunk #8 FAILED at 422.
Hunk #9 FAILED at 432.
Hunk #10 FAILED at 524.
9 out of 10 hunks FAILED -- saving rejects to file gallery.module.rej

Any ideas?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-10-25 00:02

use the changed files only, not the path.

and make sure you were using the g 2.0 release from september 12th before.

if you were using g2 RC or beta, then you can't use the patch / changed files. then you need to download the complete 2.0.1 package.

 
kiz_0987

Joined: 2005-02-27
Posts: 189
Posted: Tue, 2005-10-25 00:43

valiant: I think the issue is with patching gallery.module, not Gallery 2 -> 2.0.1.

chrisfive: I have uploaded the actual enhanced gallery.module. See http://drupal.org/node/32393

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-10-25 04:30

ah, i see. you're right.

 
chrisfive

Joined: 2005-10-19
Posts: 12
Posted: Tue, 2005-10-25 20:01

Thanks, kiz!