Drupal + G2

R1Power

Joined: 2003-07-30
Posts: 6
Posted: Wed, 2005-09-28 14:17

Hi,
I got gallery2 installed standalone and worked (http://mydomain.com/gallery). Also installed drupal 4.6 (root of mydomain.com) and worked. Installed gallery.module and with bit of help from google got the images to display in the ramdom image block and http://mydomain.com/?q=gallery. However when I clicked on the thumbnails in the image block or embeded gallery I keep getting redirected to the home page.

Also if I use www.mydomain.com in the browser the image block and embeded gallery can't display any images.

Gallery and gallery.module have been updated from cvs

What have I missed in my config?

Many thanks in advance.
Cheach

 
MichelleC

Joined: 2005-04-16
Posts: 42
Posted: Wed, 2005-09-28 14:39

Just a thought... This thread is nearly a year old and the title doesn't even fit the new posts being added as most people are on 4.6 and 4.7 is just around the corner. Rather than adding onto this old thread, why not start new ones for your questions so they can be seen more easily?

Michelle

 
R1Power

Joined: 2003-07-30
Posts: 6
Posted: Wed, 2005-09-28 15:54

Cheers Michelle.

Started new thread as suggested
http://gallery.menalto.com/node/37459

 
swiders2

Joined: 2005-10-26
Posts: 7
Posted: Wed, 2005-10-26 03:34

I have installed the most current versions of both G2 and Drupal and I have read many of the posts about common issues. However, I am getting an error when clicking on the random photo block. It redirects me to an "error 500: Internal Server Error"

Any ideas?

Thanks!

 
titus14

Joined: 2005-10-26
Posts: 11
Posted: Wed, 2005-10-26 08:59

i have installed drupal-4.6.3 and gallery 2.1.
standalone both can run but when i followed the instruction to embed gallery in to drupal then the problem occur.

when i enable the gallery block the following error occur:

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ')) AND g2_AccessMap.g_permission & 1 = 1' at li query: INSERT INTO watchdog (uid, type, message, severity, link, location, hostname, timestamp) VALUES (1, 'gallery', 'Unable to get Gallery image block<br/>Error (ERROR_STORAGE_FAILURE)<ul><li><b>in</b> C:\\www\\drupal-4.6.3\\gallery2\\modules\\core\\classes\\GalleryStorage\\DatabaseStorage.class <b>at line</b> 1166 (gallerystatus::error) <li><b>in</b> C:\\www\\drupal-4.6.3\\gallery2\\modules\\core\\classes\\GalleryStorage.class <b>at line</b> 245 (mysqldatabasestorage::search) <li><b>in</b> C:\\www\\drupal-4.6.3\\gallery2\\modules\\core\\classes\\Gallery.class <b>at line</b> 223 (gallerystorage::search) <li><b>in</b> C:\\www\\drupal-4.6.3\\gallery2\\modules\\core\\classes\\helpers\\GalleryPe in C:\www\drupal-4.6.3\includes\database.mysql.inc on line 66.

and the 2nd error is:

Unable to get Gallery image block
Error (ERROR_STORAGE_FAILURE)
in C:\www\drupal-4.6.3\gallery2\modules\core\classes\GalleryStorage\DatabaseStorage.class at line 1166 (gallerystatus::error)
in C:\www\drupal-4.6.3\gallery2\modules\core\classes\GalleryStorage.class at line 245 (mysqldatabasestorage::search)
in C:\www\drupal-4.6.3\gallery2\modules\core\classes\Gallery.class at line 223 (gallerystorage::search)
in C:\www\drupal-4.6.3\gallery2\modules\core\classes\helpers\GalleryPermissionHelper_simple.class at line 89 (gallery::search)
in C:\www\drupal-4.6.3\gallery2\modules\core\classes\GalleryCoreApi.class at line 412 (gallerypermissionhelper_simple::fetchaccesslistids)
in C:\www\drupal-4.6.3\gallery2\modules\imageblock\classes\ImageBlockHelper.class at line 494 (gallerycoreapi::fetchaccesslistids)
in C:\www\drupal-4.6.3\gallery2\modules\imageblock\classes\ImageBlockHelper.class at line 390 (imageblockhelper::cacheviewabletree)
in C:\www\drupal-4.6.3\gallery2\modules\imageblock\classes\ImageBlockHelper.class at line 223 (imageblockhelper::fetchviewabledata)
in C:\www\drupal-4.6.3\gallery2\modules\imageblock\classes\ImageBlockHelper.class at line 96 (imageblockhelper::_getblockdata)
in C:\www\drupal-4.6.3\gallery2\modules\core\classes\GalleryEmbed.class at line 741 (imageblockhelper::loadimageblocks)
in C:\www\drupal-4.6.3\modules\gallery\gallery.module at line 196 (galleryembed::getimageblock)
in ??? at line 0
in C:\www\drupal-4.6.3\includes\module.inc at line 182
in C:\www\drupal-4.6.3\modules\block.module at line 502
in ??? at line 0
in C:\www\drupal-4.6.3\includes\module.inc at line 182
in C:\www\drupal-4.6.3\includes\theme.inc at line 864
in ??? at line 0
in C:\www\drupal-4.6.3\includes\theme.inc at line 194
in C:\www\drupal-4.6.3\themes\engines\xtemplate\xtemplate.engine at line 202
in ??? at line 0
in C:\www\drupal-4.6.3\includes\theme.inc at line 190
in C:\www\drupal-4.6.3\modules\block.module at line 387
in ??? at line 0
in C:\www\drupal-4.6.3\includes\menu.inc at line 354
in C:\www\drupal-4.6.3\index.php at line 18

i'm a newbie in this area can anyone exlpain to me what went wrong?
thanks in advance

 
kiz_0987

Joined: 2005-02-27
Posts: 189
Posted: Wed, 2005-10-26 10:28

swiders2: Please post a copy of the link that is attempted for the Random Block (go into View->Source or equivalent and post the link.)

titus14: The 2 errors are related. The first one is just trying to add some info into the watchdog (so that you can see it when you look in /admin), but watchdog seems to have thrown up an error (this is a gallery.module issue that I will look at ). The second one is the real error. This error means that Gallery was initialised (ie it was found and the login appeared to work) but for some reason the image block data was not returned. First thing to check: if you enable the imageblock in non-embedded Gallery2, does it work?

 
kiz_0987

Joined: 2005-02-27
Posts: 189
Posted: Wed, 2005-10-26 10:52

titus14: One thing that would be really useful, before you fix this, is to post the complete message that gallery.module is trying to insert into the watchdog. To do that will require a mod to your gallery.module. If you feel comfortable with the idea, can you please save a backup copy, then make the following change in the gallery_error function (line 376 in cvs version). Change:

  if (in_array(2, $error_mode)) {
    drupal_set_message($message);
  }

  if (isset($ret)) {
    $full_message = $message . '<br/>' . $ret->getAsHtml();
  } else {
    $full_message = $message;
  }

To:

  if (isset($ret)) {
    $full_message = $message . '<br/>' . $ret->getAsHtml();
  } else {
    $full_message = $message;
  }

 if (in_array(2, $error_mode)) {
    drupal_set_message($full_message);
  }

And post the error that appears in your brower (it should have more details than the one you previously posted).

Thanks

 
titus14

Joined: 2005-10-26
Posts: 11
Posted: Thu, 2005-10-27 01:06

oh ok thanks lot.
my imageblock in gallery2 dont seem to be showing do u know what could be e reason

 
titus14

Joined: 2005-10-26
Posts: 11
Posted: Thu, 2005-10-27 01:35

i have already installed the image block and activate it

 
titus14

Joined: 2005-10-26
Posts: 11
Posted: Thu, 2005-10-27 08:57

ok now finally my imageblock seem to be working after i re-installed both drupal and gallery but it show me a new error after i enable the gallery block in drupal

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ')) AND g2_AccessMap.g_permission & 1 = 1' at li query: SELECT * FROM blocks WHERE status = 1 AND region IN (1) ORDER BY weight, module in C:\www\drupal-4.6.3\includes\database.mysql.inc on line 66.

what could be the problem?

drupal version : 4.6.3
Gallery2 version:2.1
gallery.module version:gallery.module.kiz0987.v1.1.tar.gz
Directory Structure:
drupal - C://www/drupal-4.6.3
Gallery2 - C://www/drupal-4.6.3/gallery2

 
kiz_0987

Joined: 2005-02-27
Posts: 189
Posted: Thu, 2005-10-27 11:09

There are 2 errors here. One is that G2 is throwing an error for an unknown (so far) reason. The second is that gallery.module is trying to insert this error into the Watchdog (so that you can view it in the logs) but SQL (in Drupal) is complaining about the message. I cannot replicate this as yet. Can you please review my posting from Wed, 2005-10-26 05:52 and try the modification there. That way I can see the entire error message and can also try to find out why the SQL error is occuring.

 
swiders2

Joined: 2005-10-26
Posts: 7
Posted: Fri, 2005-10-28 01:44

THanks kiz:

Although I'm not sure what you mean? Can't you just view the source of the link yourself? Sorry, I'm still new to Drupal/Gallery.

swiders2

 
titus14

Joined: 2005-10-26
Posts: 11
Posted: Fri, 2005-10-28 03:04

i try to put the code into it but now the log no longer show any message about the error
although the gallery block is still not working

 
kiz_0987

Joined: 2005-02-27
Posts: 189
Posted: Fri, 2005-10-28 14:10

swiders: I've provided another answer to your Drupal post on this issue ( http://drupal.org/node/35392 ). Please use that one for future postings on this issue and I'll check it.

 
kiz_0987

Joined: 2005-02-27
Posts: 189
Posted: Fri, 2005-10-28 14:11

titus14: Do you have this website publicly visible. It's not going to be easy to debug without taking a look at it. You can contact me directly with this info if you do not want to post it.

 
titus14

Joined: 2005-10-26
Posts: 11
Posted: Sat, 2005-10-29 03:26

i dont get what u mean by publicly visible. i try to change the code according to what u say again this time.
the error it prompt in the log is the following 2:

Type php
Date Saturday, October 29, 2005 - 03:09
User administer
Location /drupal-4.6.3/?q=admin/block
Message You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ')) AND g2_AccessMap.g_permission & 1 = 1' at li query: INSERT INTO watchdog (uid, type, message, severity, link, location, hostname, timestamp) VALUES (1, 'gallery', 'Unable to get Gallery image block<br/>Error (ERROR_STORAGE_FAILURE)<ul><li><b>in</b> C:\\www\\drupal-4.6.3\\gallery2\\modules\\core\\classes\\GalleryStorage\\DatabaseStorage.class <b>at line</b> 1166 (gallerystatus::error) <li><b>in</b> C:\\www\\drupal-4.6.3\\gallery2\\modules\\core\\classes\\GalleryStorage.class <b>at line</b> 245 (mysqldatabasestorage::search) <li><b>in</b> C:\\www\\drupal-4.6.3\\gallery2\\modules\\core\\classes\\Gallery.class <b>at line</b> 223 (gallerystorage::search) <li><b>in</b> C:\\www\\drupal-4.6.3\\gallery2\\modules\\core\\classes\\helpers\\GalleryPe in C:\www\drupal-4.6.3\includes\database.mysql.inc on line 66.
Severity error
Hostname 127.0.0.1

details
Type gallery
Date Saturday, October 29, 2005 - 03:09
User administer
Location /drupal-4.6.3/?q=admin/block
Message Unable to get Gallery image block
Error (ERROR_STORAGE_FAILURE)
in C:\www\drupal-4.6.3\gallery2\modules\core\classes\GalleryStorage\DatabaseStorage.class at line 1166 (gallerystatus::error)
in C:\www\drupal-4.6.3\gallery2\modules\core\classes\GalleryStorage.class at line 245 (mysqldatabasestorage::search)
in C:\www\drupal-4.6.3\gallery2\modules\core\classes\Gallery.class at line 223 (gallerystorage::search)
in C:\www\drupal-4.6.3\gallery2\modules\core\classes\helpers\GalleryPermissionHelper_simple.class at line 89 (gallery::search)
in C:\www\drupal-4.6.3\gallery2\modules\core\classes\GalleryCoreApi.class at line 412 (gallerypermissionhelper_simple::fetchaccesslistids)
in C:\www\drupal-4.6.3\gallery2\modules\imageblock\classes\ImageBlockHelper.class at line 494 (gallerycoreapi::fetchaccesslistids)
in C:\www\drupal-4.6.3\gallery2\modules\imageblock\classes\ImageBlockHelper.class at line 390 (imageblockhelper::cacheviewabletree)
in C:\www\drupal-4.6.3\gallery2\modules\imageblock\classes\ImageBlockHelper.class at line 223 (imageblockhelper::fetchviewabledata)
in C:\www\drupal-4.6.3\gallery2\modules\imageblock\classes\ImageBlockHelper.class at line 96 (imageblockhelper::_getblockdata)
in C:\www\drupal-4.6.3\gallery2\modules\core\classes\GalleryEmbed.class at line 741 (imageblockhelper::loadimageblocks)
in C:\www\drupal-4.6.3\modules\gallery\gallery.module at line 196 (galleryembed::getimageblock)
in ??? at line 0
in C:\www\drupal-4.6.3\includes\module.inc at line 182
in C:\www\drupal-4.6.3\modules\block.module at line 502
in ??? at line 0
in C:\www\drupal-4.6.3\includes\module.inc at line 182
in C:\www\drupal-4.6.3\includes\theme.inc at line 864
in ??? at line 0
in C:\www\drupal-4.6.3\includes\theme.inc at line 194
in C:\www\drupal-4.6.3\themes\engines\xtemplate\xtemplate.engine at line 202
in ??? at line 0
in C:\www\drupal-4.6.3\includes\theme.inc at line 190
in C:\www\drupal-4.6.3\modules\block.module at line 387
in ??? at line 0
in C:\www\drupal-4.6.3\includes\menu.inc at line 354
in C:\www\drupal-4.6.3\index.php at line 18

Severity error
Hostname 127.0.0.1

 
kiz_0987

Joined: 2005-02-27
Posts: 189
Posted: Sat, 2005-10-29 14:52

I'm confused with the error messages that you are getting. Some of your posts you say it seems to work, but then next it doesn't.

Ignoring the Drupal integration, does the Image Block work in your non-embedded Gallery2? (ie do you see it in the sidebar?).

My "publicly accessable" comment was to ask if your site can be seen on the internet (and if so what is the URL?), or is it private on your home computer or network? This is becoming very difficult to debug without seeing the site in action.

 
titus14

Joined: 2005-10-26
Posts: 11
Posted: Sat, 2005-10-29 16:26

oh i think that is because i keep re-installing drupal and gallery.

ya now my image block is working fine in gallery2.

no i am using a localhost in my own network to do the work.

 
drhiii

Joined: 2003-04-27
Posts: 397
Posted: Sun, 2005-10-30 09:36

Anyone post a URL for a Drupal/G2 integration to view?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-10-30 13:08

http://galery.menalto.com (click screenshots) :)

 
MichelleC

Joined: 2005-04-16
Posts: 42
Posted: Sun, 2005-10-30 13:38

Two l's work better. ;)

http://gallery.menalto.com/gallery/screenshots

Michelle

 
drhiii

Joined: 2003-04-27
Posts: 397
Posted: Sun, 2005-10-30 20:09

Pardon me for being dense, but the screenshots are just G2. I didn't see any Drupal integrations... or did I miss a big picture somewhere (pun intended).

I've seen some Wordpress and Mambo/Joomla integrations.... but I haven't been able to find any Drupal integrations.

tx

 
MichelleC

Joined: 2005-04-16
Posts: 42
Posted: Sun, 2005-10-30 20:24

drhiii -

This website is running on Drupal. Hence the gallery is a G2/Drupal integration. :)

There's also Walkah's site if you want another example: http://walkah.net/gallery

I also have it integrated but would rather not post the URL. PM me if you're interested.

Michelle

 
profix898

Joined: 2005-11-08
Posts: 135
Posted: Thu, 2006-01-12 23:15

Looks like GalleryEmbedApi has changed. So Drupal integration does
not work with cvs version of G2 (Gallery 2.1) anymore.

Is there a modified gallery.module?
Is anybody currently working on it?

 
mchapman2

Joined: 2006-01-11
Posts: 20
Posted: Tue, 2006-01-17 16:01

Hi,

Can someone take a look at my Drupal + Gallery2 site @ http://tarheelstomper.com and offer any suggestions as to how to get the site to look cleaner? I don't like the way the gallery2 thumbnails look...the gallery is offset too far to the right. What can I change to fix it?

Thanks,

Mike C.

 
lvthunder

Joined: 2003-09-12
Posts: 808
Posted: Tue, 2006-01-17 16:40

You need to change the gallery theme. It looks like you are using the matrix theme which unmodified isn't very suitable to be an embedded theme. The big gap is the spot where the sidebar goes. I would edit the theme to take out the table for the sidebar. I would also remove the gallery logo, the gallery breadcrumb (or at least make it smaller). On the drupal side I would activate some other modules so you can check out how that looks. To me it looks like the Drupal breadcrumb and the title are too big and have too much padding. If you need me to get more specific on which files you should edit let me know.

 
mchapman2

Joined: 2006-01-11
Posts: 20
Posted: Tue, 2006-01-17 17:10

Ivthunder,

I am a newbie..so yes, if you would be more specific I would greatly appreciate it. I have looked at the theme.css for matrix but wasn't sure what to edit. Also, since I am using a Google Map module I think matrix is the only theme that works correctly. I may be wrong though. I've also done something stupid on the drupal side of things...I've disabled the log-in block and now I cannot figure out how to login to administer the drupal site.

As for the Gallery logo, how can I get rid of it?

Thanks and sorry for all the questions...

Mike

 
lvthunder

Joined: 2003-09-12
Posts: 808
Posted: Tue, 2006-01-17 18:20

First off in the gallery2/themes/matrix/templates create a folder called local and copy theme.tpl there. Then edit the file and remove the following lines.

      <div id="gsHeader">
        <img src="{g->url href="images/galleryLogo_sm.gif"}" width="107" height="48" alt=""/>
      </div>

      <div id="gsNavBar" class="gcBorder1">
        <div class="gbSystemLinks">
          {g->block type="core.SystemLinks"
		    order="core.SiteAdmin core.YourAccount core.Login core.Logout"
		    othersAt=4}
        </div>

        <div class="gbBreadCrumb">
          {g->block type="core.BreadCrumb"}
        </div>
      </div>

You might want to move the system links somewhere else so you can login to g2.

Then copy album.tpl and photo.tpl to the local folder and remove the following.

   {if !empty($theme.params.sidebarBlocks)}
    <td id="gsSidebarCol">
      {g->theme include="sidebar.tpl"}
    </td>

Doing this will remove all the stuff I said. As to getting logged into drupal I would do a search on drupal.org. I'm sure there is still a way to login. I guess I need to find out because on my site I don't need or want people to comment so I want to turn that off as well.

 
mchapman2

Joined: 2006-01-11
Posts: 20
Posted: Tue, 2006-01-17 21:34

That works! Thanks for your help. I still need to clean up the Gallery though. I don't like all the unneccesary comments and such.

Mike

 
titus14

Joined: 2005-10-26
Posts: 11
Posted: Sat, 2006-02-18 06:54

drupal version : 4.6.5
Gallery2 version:gallery-2.1-rc-1a-nightly
gallery.module version:gallery.module.kiz0987.v1.1.tar.gz
Directory Structure:
drupal - e:\imageforte
Gallery2 - e:\imageforte\gallery2

hi i have problem intergrating both drupal and gallery together. when i put the gallery.module into the module folder of drupal the following errors is show:

Fatal error: Call to a member function on a non-object in e:\imageforte\modules\gallery.module on line 457

u can take a look at the errors at:
http://www.imageforte.com//index.php?q=admin/modules

can anyone help?

 
kiz_0987

Joined: 2005-02-27
Posts: 189
Posted: Sat, 2006-02-18 13:49

Your gallery.module version is not compatible with G2.1-rc yet. People are working on a new version which will be available soon (next couple of weeks I would hope).

 
Continental

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

Hi kiz,
I will not lazy to write everything in the third time, but I will very appreciate if you can implement some (many, all) functionality in the new module.

1. make "my album" link in the navigation menu to /user/album with (not blocked)
2. place "my album" link in profile with username like "Continental's Album"
3. place a list of (root) albums of the user on profile page, of the whole tree
4. place some statistics like "Continental have X albums and Y photos"
5. Integrate Quotas Module and show to user (only!) how many space used/left/total
6. make if possible to GO from /gallery/ to /user/ page within current user.
7. make a new statistic block counting gallery photos/albums e.t.c
8. if possible, show "Owner" with active link towards profile or userRootAlbum.
9. make dhtml menu block showing only User Albums (not sure, if it gallery.module)

I adore your the people's work on this module, I currently I'm running live site with ~300 users and, ~150 user's albums and much more photos, but it need to be improved! Thank you for reading this.

 
MichelleC

Joined: 2005-04-16
Posts: 42
Posted: Sat, 2006-03-18 14:51

Continental - That is quite a few requests you have there. You might have better luck breaking that up into individual feature requests and submitting them against the module on drupal.org.

Michelle

 
Yazon

Joined: 2004-08-10
Posts: 80
Posted: Fri, 2006-03-24 04:54

Any news on module that would work with 2.1 (official release at this point) and Drupal 4.7 (Beta 6) as of right now and is likely to be the last one before official 4.7?

Seems that Gallery's official releases come out more often than drupal's. And considering the amount of code changed in Gallery, the integration is lagging behind. So i wonder if anyone is actively working on G2.1 & Drupal4.7 integration at all?

 
kiz_0987

Joined: 2005-02-27
Posts: 189
Posted: Fri, 2006-03-24 05:08

Yes, it is being actively looked at. I will post a new gallery.module for G2.1 with Drupal 4.7 in the next couple of days. There will also be a new Drupal/Gallery2 Forum at http://www.galleryembedded.com/.

 
kiz_0987

Joined: 2005-02-27
Posts: 189
Posted: Fri, 2006-03-24 14:20

Gallery2.1 with Drupal 4.7 (cvs) committed to Drupal CVS HEAD. Please let me know of any issues and provide any relevant patches to this version. Note that the gallery-cvs.tar.gz (from http://drupal.org/project/Modules/cvs/) will be regenerated automatically later today. In the meantime you will need to go to the Drupal CVS to download.

Features:
- Compatible with Gallery2.1 and Drupal 4.7 (ONLY!)
- Autoconfiguration of settings (only 1 parameter is needed) with checking
- Drupal Role & Gallery2.1 Group support (with automatic sync)
- Improved user information (can check Drupal-G2 sync status) with Full-Name support (via profile.module)
- Improved URL rewrite - any rule can now be used, not just the view rule.
- Can change number of images in sidebar and they can be different types
- Can add photo frames and link target
- Support for Gallery2 Navigation menu in sidebar (including Album Select)
- Adds breadcrumb
- Adds css file to improve default Gallery2.1 Matrix theme for embed.
- Improved search, with thumbnails and paging
- Includes g2_filter functions
- Includes support for g2image ( http://g2image.steffensenfamily.com/ ) both Standalone and with TinyMCE

 
thumb
thumb's picture

Joined: 2004-05-26
Posts: 238
Posted: Fri, 2006-03-24 21:53

kiz_0987, nice work, just installed and it works wonderfully. Hey, if you're looking for feature requests, one thing that I'd like is the ability to choose an album from which to display an image block.

I have a Drupal multisite setup for my family and a single Gallery 2 install for all. What I'd like to do is pull different image blocks for each Drupal site from a specific Gallery album.

 
kiz_0987

Joined: 2005-02-27
Posts: 189
Posted: Fri, 2006-03-24 22:26

That would be a cool feature, but the integration is limited by what Gallery2.1's ImageBlock module will do. Unfortunately this is not an available feature in it. See http://gallery.menalto.com/node/43625

I could not find a feature request for it, so maybe you could add one and let people vote on it.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sat, 2006-03-25 01:31

Site Admin / Imageblock shows a g2_itemId parameter for external imageblock:

Quote:
Limit the item selection to the subtree of the gallery under the album with the given id; or the id of the item to display when used with specificItem block type

does that help?

 
kiz_0987

Joined: 2005-02-27
Posts: 189
Posted: Sat, 2006-03-25 15:22

A new forum dedicated to Drupal embedded Gallery2 has been set up by those nice folks at http://www.galleryembedded.com. Go to http://www.galleryembedded.com/forums/index.php

Please use this to post issues & comments on the gallery.module.

 
dotnature
dotnature's picture

Joined: 2005-10-26
Posts: 224
Posted: Mon, 2006-04-17 00:02

I havent used this so excuse my ignorance, but it it possible to use this module in drupal for multi-user blogging. Something akin to the imagemanager or inline plug-in, which would allow the user easy access to thier albums when writing a post.
Something simple along the lines of ..user writes a post and if they want to insert an image (with wysiwyg or htmlArea) from thier gallery album they can do so easily with just an inset image tag.

I know its possible using drupal but im not sure with gallery2, if not how difficult would that be I be willing to help out.

 
kiz_0987

Joined: 2005-02-27
Posts: 189
Posted: Mon, 2006-04-17 00:28

This functionality is already available for Drupal 4.7/G2.1. Check out the g2Image info in the latest gallery.module CVS code.

 
jeffshultz

Joined: 2004-06-03
Posts: 5
Posted: Thu, 2006-07-13 02:47

It appears from this site that Drupal and Gallery integration are complete - I'm running the latest Gallery 1.x and it doesn't appear to want to integrate with Drupal - any ideas?

I like having my photos available to post on other forums by referring back to my webserver, so I'm kind of iffy on upgrading to Gallery 2 unless that is an option.

 
lvthunder

Joined: 2003-09-12
Posts: 808
Posted: Thu, 2006-07-13 03:04

You can use G2 and post images on other forums. You just got to get the right link. I don't know of a way to integrate G1 to drupal, but I might be wrong about that.

 
kiz_0987

Joined: 2005-02-27
Posts: 189
Posted: Mon, 2006-08-28 16:36

There is now a wiki available for Gallery2 embedding into Drupal. See http://drupal.galleryembedded.com

Thanks to ozgreg and galleryembedded.com for setting up and hosting this. The wiki needs work -- any help is appreciated!

 
FLUXrider

Joined: 2006-05-18
Posts: 49
Posted: Sun, 2006-11-12 01:56

gallery.module is all well and good . I have my gallery2 and drupal intergrated fine , however there are limits to its use. It does not at all handle well the posting of pictures into nodes. A far better solution is the bbcode module with the Quick tags module which inserts pics without issue. I use the g2image chooser never now. To many bugs - it will not layout correctly , it will not place anything but thumbs without hacking the code ( ugh , shades of the phpbb approach but good news for the hack kids)
Gallery2 writers passed on their work on BBCode to the Drupal team . Gallery2 handles BBcode pretty well where I use it . In the description field of an album you can hit the url button and it steps you through the insertion of an url and the text you want to use to display. Very very kewl and easy for users . Was this functionality passed on to Drupal and if so , can anyone lead me to the module in drupal that implements it . Quick tags which is a wordpress port is okay and can be developed , but I love the way Gallery2 handles the insertion of urls and images initiated by that click of the button in the formatting bar.

Drupal with Gallery2 is the absolute greatest . Forums with taxonomy and categories absolutely walks over the phpbb type approaches. Sincere gratitude and appreciation and respect for the developers of these two exceptional bodies of work. Thanks

 
FLUXrider

Joined: 2006-05-18
Posts: 49
Posted: Sun, 2006-11-12 08:18

Okay. I foigured out how to add buttons and do it just as well using quick tags. Its also a drupal topic really and I found the wysiwyg formatting bar over there which does i guess the same as what happens in the gallery itself. Sorry to be a bother.

FLUXrider
From the love of the ride good things come

 
maxilious

Joined: 2005-10-09
Posts: 15
Posted: Tue, 2007-02-13 06:28

I was running gallery2 with Drupal 4.7 here http://skatopia.net/ - everything was fine. Lately when you click on one of the random images you get the error message.

Safari can’t open the page “http://skatopia.net/v/current-skatopia-sessions/Dale-Arden/album52/DSC_0030.jpg.html”. The error was: “lost network connection” (NSURLErrorDomain:-1005) Please choose Report Bug to Apple from the Safari menu, note the error number, and describe what you did before you saw this message.

This happenes on both IE and Safari.