Tutorial: How to Integrate Gallery into your Website (Gallery 1.4.x / 1.5.x)

bigredcherokee

Joined: 2005-12-27
Posts: 16
Posted: Sat, 2006-07-15 01:38

Dave,

I got to say your the best!!!!!!! Thanks for all your great teaching I have defintaly learned alot!!!!

I got it to work with these statement

include("http:yoursite.com/inc/header.php");
include("http://yoursite.com/inc/menu.php");

If you get a chance visit the gallery at www.bayoujeepersoffroad.com/gallery

Thanks,

Chris Nash

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sat, 2006-07-15 02:51

Gald you got it sorted and learned along the way. BTW I use to have a Jeep and did some trips , on some real great trails tin the rockies of Canada.

Dave

____________________________________________________
Blog with G2 || Gallery Frames / Mods || G1 Test Gallery

 
rickntrin

Joined: 2006-07-17
Posts: 3
Posted: Mon, 2006-07-17 20:43

Hello All

I'm a new user and have good look getting Gallery up and running, but I have a question I am hoping someone can help with.
I found the way to add a drop down box to the sub-albums, but I haven't found how to MOVE that box to underneath the images.
I know the same question was asked earlier in a thread, and i found the info to create the box, but not move the box. So, if
anyone could help that would be great, thanks.

The gallery is located at this address.
http://www.petermayhew.com/gallery/

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2006-07-18 01:47

rickntrin, How does this relate to this tread?
Why not start a new thread and reference the thread you found the code in. It makes it easier for other to follow.

Dave

____________________________________________________
Blog with G2 || Gallery Frames / Mods || G1 Test Gallery

 
rickntrin

Joined: 2006-07-17
Posts: 3
Posted: Tue, 2006-07-18 15:50

I'm sorry. I thought this would be the right thread because that's where I found Manaans original post:

Quote:
I saw your webiste its absolutely fantastic. I am a psychiatrist by profession and an absolute novice. I have struggled in designing what I have done so far. Do take a look. www.opticalpercept.com
or http://www.twilightbridge.com/op/gallery/ (this is the direct link)
I am intriguesd by how you have managed to put drop down menus under each album for subalbums. How could I go about doing something simillar. As most of my albums have subalbums, and subsub albums and so on peole need to click no of timesbefore they get to the photos. Could you please let me know how I could do something simillar to what u have done.
Any help will be much appreciated.
Manaan"

I'll go repost in the other thread. Thank you anyway.

 
Salts4444

Joined: 2006-08-03
Posts: 7
Posted: Thu, 2006-08-03 19:46

Hey guys

I know this is an old thread but Im using version 1. I followed Wolfs tutorial and it worked perfectly, Except, all the links and paths from source page have changed. For example, the source page www/index.html is now www/gallery/index.html, this goes for all the image files on the stie too. The frame structure is perfect, but I'm missing all my content. I know there must be an easy solution for this, I probably just missed a step, can anyone help?

Salts

 
Salts4444

Joined: 2006-08-03
Posts: 7
Posted: Thu, 2006-08-03 19:57

Solved my own problem, absolute vs. relative link. Sorry for the newb question.

 
jscott554

Joined: 2005-08-08
Posts: 3
Posted: Tue, 2006-08-22 22:46

Hey guys...

Very helpful tips.. I have a question though as I read somewhere (I thought in this thread) there was an issue with the TD and the TD colspan messing up alignment on an embedded table.

I can't seem to find where the extra TD needs to go on my site. I've installed the gallery into a base template. I have a top header (imported JS files), I have a left (Gallery area) Right (Right Nav links/ads) and a Bottom footer (ads)

It's a pretty simple four cell table that I put gallery into, but I'm lost from where all the TDs and Close TDs go.

I edited the header and the footer wrappers.
wrapper.header.default
wrapper.footer.default

I'm also trying to figure out why the text on the right isn't the same as the Gallery text links.

Site: http://patriotsinsiders.com/gallery/

Any suggestions on what I need to do to bring that footer up closer to the bottom of the photo albums? Is it in the tutorial soemwhere?

TIA

Jon

 
photonetau

Joined: 2004-05-06
Posts: 6
Posted: Sun, 2006-08-27 01:59

I cant find it either ..??
I am using Gallery 2

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2006-08-28 16:51

photonetau This thread is G1.

Dave
____________________________________________________
Blog with G2 || Gallery Frames / Mods || G1 Test Gallery

 
THURO

Joined: 2005-07-12
Posts: 10
Posted: Wed, 2006-10-04 23:50

I was wondering if someone could help me.

alright its the first time i'm trying to integrate the gallery on to a site, usually i just leave it on a pop up but i want this to be cleaner.

Here is the link to my gallery http://www.gtfactory.jp/poweredbymax/gallery

ok i have 2 problems:

1: I edited the header and footer wrapper files and uploaded them. they do what they are supposed to but my header images are off center, and i dont know why.

2: as you can see the gallery expands to fit the screen, and I need it to stay in the middle within the space of those images.

future problems i see:

when i do get it to appear within the designated space i want the designated area to be white, however the background should be gray. here is an example http://www.gtfactory.jp/poweredbymax/news.php

any help with these issues would be much appreciated.
I thank you in advance.

Peace,
THURO

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2006-10-05 01:09

1. edit /html_wrap/gallery.header.default and save as gallery.header
<table width="100%" border="0" cellpadding="0" cellspacing="0">

change to
<table width="75%" border="0" align="center" border="0" cellpadding="0" cellspacing="0">

2. edit the css (screen.css.default and save as screen.css) body tag

 
ovad2

Joined: 2006-10-05
Posts: 2
Posted: Thu, 2006-10-05 04:33

i've been clicking like mad trying to figure out why i can't find my HTML_WRAP directory.
i've used Dreamhost to add Gallery to my server space, and it all works well. after reading around trying to easily incorporate it into my existing html tempate, i understand it's simply a matter of editing these magical files in the "html_wrap" directory.
EXCEPT, i can't find one. extremely frustrating. i'm looking under the gallery directory set up on my server space (ourknottywedding.com/gallery) but with no luck.
what's up with that?
i'd appreciate any input (hopefully constructive).

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2006-10-05 04:48
ovad2 wrote:
i've been clicking like mad trying to figure out why i can't find my HTML_WRAP directory.

G2 does not have html_wrap dir.
This is a G1 forum.

Try: http://codex.gallery2.org/index.php/Gallery2:How_to_visually_embed_Gallery_in_your_own_website_by_editing_theme_templates
____________________________________________________
Blog with G2 || Gallery Frames / Mods || G1 Test Gallery

 
ovad2

Joined: 2006-10-05
Posts: 2
Posted: Thu, 2006-10-05 04:55

sorry for mix up. thanks.

 
THURO

Joined: 2005-07-12
Posts: 10
Posted: Thu, 2006-10-05 20:23

Thanks for your help Floridave.

I got the hang of what you were saying and in my particular case the code was actually different but it was simply a variant from your code, in the end mine looks like this:

<table width="900px" bgcolor="FFFFFF" border="0" align="center" border="0" cellpadding="0" cellspacing="0">

I modified the screen.css file and it looks good and i added some images to test.

there are only 3 problems which were encountered.

  • the top images are not centered.

    the images in my html code of the wrapper.header dont appear centered on the screen when the window is maximized. I checked my code and i put those images into a table, the table is maximized and there are no spaces or extra characters after the table or any of the images.

  • when you click the image to go into the thumbnals of the album it still displays at 100%.

    I know this is a simple fix, all I have to do is insert

    <table width="900px" bgcolor="FFFFFF" border="0" align="center" border="0" cellpadding="0" cellspacing="0">

    into the code, but which file is the one that i need to modify?

    and finally

  • the header and footer pictures are not present once in full view of picture.

    if you click on the thumbnail to get the fullsize picture the images at the top and on the bottom do not appear. i know where to insert the pictures on each specific album so that they do appear but that really serves me no purpose. is there a way to have them appear? maybe call wrapper.header and wrapper.footer from another file?

    Here is the URL for the gallery
    http://www.gtfactory.jp/poweredbymax/gallery

    well anyway i know someone has to have encountered these problems before, again I thank you in advance.

    Peace,
    THURO

 
THURO

Joined: 2005-07-12
Posts: 10
Posted: Thu, 2006-10-05 22:28

Fixed the pictures not appearing problem only the 2nd problem on the list is still present.

 
THURO

Joined: 2005-07-12
Posts: 10
Posted: Thu, 2006-10-05 21:59

I fixed the centered image problem so now only address the second and third problem. thanks.

 
THURO

Joined: 2005-07-12
Posts: 10
Posted: Thu, 2006-10-05 22:41

album.header.default was the file i needed to modify. somehow i opened every other one except that one. well looks like its all done. thanks for your help couldn't have done it without you Floridave.

Peace,
THURO

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2006-10-05 23:28

THUROI guess if I wait long enough you will fix all problems you have? LOL :-)

Glad you got it sorted.

 
Dinictis

Joined: 2006-10-07
Posts: 4
Posted: Tue, 2006-10-31 07:12

Thanks for the info. I've searching ways to integrate gallery and my own design. Really appreciate it. Have to do some reading, already printed this forum hehehe...

Website - http://www.dinictismedia.com
Fotopages - http://dinictis.fotopages.com
Flickr - http://www.flickr.com/photos/dinictis

 
shumanco

Joined: 2007-02-05
Posts: 1
Posted: Mon, 2007-02-05 23:22

Thanks for everyone on this forum even the newbies because every question i needed answering had already been answered. Here is the link to the gallery:

www.socalelectric.org/Gallery

All I need to figure out now is how to modify the css in the gallery.

Thanks Everyone. :)

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2007-02-05 23:39

I have found 2 tools that are invaluable the firefox browser and the web development tool that allows you to Make live edits to the CSS of a web page..
Once you have them both installed....
select edit css and under the 'information' dropdown check display ID & class details.
Edit your CSS and you will see the results. Once you have this the way you want, upload your edited css to the server.

This thread is old so start a new one with spacific questions if you get stuck.

Dave_____________________________________________
Blog & G2 || floridave - Gallery Team || G2 Theme Contest!

 
user32000

Joined: 2007-03-03
Posts: 2
Posted: Sat, 2007-03-03 16:00

This may be a very silly question, but I am looking for a template or skeleton of an "empty" gallery page, ie a page that contains the navigation, header and footer etc, but no photo / album / etc. I would like to create a fresh page that looks and feels as if it is part of my gallery, but contains material that isn't in the gallery.

Could anyone point me in the right direction, please?