drupal cvs and gallery2.1 rc embeddment

bkandor

Joined: 2006-03-07
Posts: 17
Posted: Fri, 2006-03-17 21:15

Hi All,

I have a test site running as stated above. When I click on the gallery link to show gallery2 embedded in the content area of my drupal page it shows up fine, but is scaled down so that all the text is blurry etc. How can I prevent this?

Also, I made a custom block to display a random image, but I want it to be fancier, I would like a block to show 3 or 4 images in line and / or run a slide show. Can this be done?
This is what I'm currently using:

<?php @readfile('http://www.mydomain.com/gallery2/main.php?g2_view=imageblock.External&g2_blocks=randomImage&g2_show=title'); ?>

Also, the drupal gallery.module block will not work (hence my custom block above)

Also, the custom block above generated bad url's until I edited the custom.php baseurl = /gallery2/main.php

Also, when I click on the random image shown in my custom block I goto gallery2 not the embedded gallery?

I appreciate any advice - I am a total newbie:)

 
Continental

Joined: 2004-06-14
Posts: 243
Posted: Sat, 2006-03-18 13:21

Plase, see my exmaple code (don't forget co consult with docs and use fullinit):
http://gallery.menalto.com/node/43023
http://gallery.menalto.com/node/44470
thatn's for 2.0

I Use hand-made block with such php code
I Use five pictures in a row on the main page.

don't use readfile construction for the same site.
If this post and docs are not helpful, I can post my current code (2.0)

 
bkandor

Joined: 2006-03-07
Posts: 17
Posted: Sat, 2006-03-18 14:21

Thanks - I'll check it out. I just wanted to ask about embedding g2.1 into drupal 4.6.6? The latest CVS of gallery.module (with latest patch) almost works but obviously some url format commands have changed.