I've been using Gallery2 for a while, this past week I installed Drupal - first as a subdirectory then switched it so that Gallery is in a subdirectory and Drupal is loaded when the URL is accessed. This problem was appearing in both configurations and seems independant of browser (using Firefox 2.0 and IE6 to test), and I've tried disabling the Garland theme (even tho it's my favorite and I've since gone back to it) as I saw that had been creating problems earlier.
The issue is that Gallery displays embedded with any of the themes just fine in the first screen (in this case, a collection of albums available for viewing), just fine when you click to open an album, but then when you go to click on one of the photos in the album it breaks out of the Drupal theme completely - Drupal's menu bar is still there but all theme settings disappear (turns into plain white background with black text regardless of what theme was in use), and the Gallery components display below the menu bar so that if you've scrolled down to only have the Gallery part displayed it looks as if Drupal isn't there at all.
I'm typing around my teething 2yo kid at the moment, going to try to play with some of the Gallery settings to change the default display size for the individual images, see if maybe it's just breaking like that because it's way too big to fit in the theme, but it seems the logical behavior for that would be just to have a horizontal scroll bar on the bottom of the browser so this is still a bug regardless (and some of the older members aren't going to appreciate if the default view size is only 2x the size of the thumbnail to allow for lower resolution screens to display properly).
I really don't like fixed-width themes as I switch between computers with different resolutions a lot and they waste so much space on my higher resolution screens. I hope that this can be figured out using fluid-width themes, and Garland just matches the actual visual elements of my church's physical building so well I'd really love to be able to use it. Drupal is much more likely to get deleted than Gallery if this keeps up as the main reason I installed Drupal in the first place was that it appeared to make podcasting easier than Gallery does and THAT is giving me whole other headaches (deleting files as soon as I go to edit the post - submitted a separate bug report for that already).
I looked back over the bug reports for Gallery for the last 40+ weeks, so hopefully I'm not repeating something that's already been posted. I downloaded Drupal and the Gallery module at the same time, less than a week ago.
site is www.wsuucmedia.org, gallery is listed in the left nav bar under "Visual Gallery" - to trigger problem go to site, click "Visual Gallery", click one of the albums, then click one of the photos within the album. Resulting screen will trigger the problem.
Comments
Comment #1
kiz_0987 commentedYou seem to have installed Gallery2 in a directory called 'gallery'. This will mess up drupal (as the gallery.module needs to use that alias). You will have to move the directory -- check the Gallery2 codex FAQ before you do though to make sure you doo all the required steps.
Comment #2
wsuucmedia commentedthank you - I just moved it quickly around my kid's naptime, and made a backup anyway, so if I DO break it worse than it currently is, I can at least get it back to it's current state. I've yet to see the full embed at work with the other stuff I'm trying to get it to do, so I'm not sure if it's going to be better as stand-alone programs (the majority of my site's users are extremely non-technical and even being logged in to Gallery offers too many options for them to grasp, but if I streamline the interface they'll never find the options they DO want, such as printing). I may be best off if I can get it to open in a new window off Drupal and just keep the users synced between them so they're not complaining about having to register twice, or worse case telling them to go to the subdirectory itself for the gallery if the responses I've seen regarding getting ANYTHING to open in a new window are the standard fare around here (in which case I may just decide to blow off Drupal entirely and try to get the podcasting to work directly from within Gallery2 instead or even hand-coding the HTML for the darn pages might be less hassle at this point).
I've got a kid cutting his last baby molar and I'm expecting #2 this summer which has my fatigue and patience for non-family members at critical levels. Thank you for the prompt response and pointing me toward more information (hopefully I can find it before my hubby hands off the kiddo again, and actually grasp what it's trying to tell me - I'm no programmer, I'm still rather proud of myself for remembering some basic HTML after so many years of avoiding web design! That Turbo Pascal class from 1994 is long gone information, even if any bit of it would help me understand what's involved with coding modules/tweaking the Drupal core/modifying CSS/etc).
Comment #3
wsuucmedia commentedVerifying that this:
http://codex.gallery2.org/index.php/Gallery2:FAQ#How_can_I_move_my_galle...
is the part of the faq you're directing me to, in case anyone else has the same problem and stumbles upon this conversation - hopefully it saves someone else going through the same steps ;) Not sure how frequent it is for someone to start with a Gallery2-only website and THEN decide to add Drupal instead of the other way around.
Comment #4
wsuucmedia commentedOK, following that fixed it (tho it was significantly less complex in my install than the FAQ made it look like it was going to be, I installed multisite and wsuucmedia isn't the main install directory so I didn't actually have to edit the config.php in this case)... at least fixed it enough that my favorite theme looks wretched instead of breaking out of the theme (image runs into right-hand column's text)... a different theme (that doesn't so easily coordinate with the church's architecture *sigh*) may solve that as I've read that Garland has problems left-right-and-center (but it's so PRETTY!!!).
For anyone else having this problem, turning off the rewrite module is definately a key part of this process - I experimented with just renaming the folder and this broke the whole site (kept adding "install" repeatedly to the URL until Firefox decided to time it out after it had /install/install/install about 20 times). Don't forget to go into the Gallery module settings in Drupal and point them to the new directory.
Setting this to "closed", again, thank you so much kiz for your help! I really love Gallery2 :)