Tutorial for embedding your gallery: READ THIS FIRST

joan
joan's picture

Joined: 2002-10-21
Posts: 3485
Posted: Sat, 2003-08-23 05:23

If you want to embed gallery into another application with it's own database (and you can't find it here), then start with this tutorial:

http://www.txraves.org/code/dox/embedding_gallery.php

thanks TxRaves

[edit: RIP txraves.org -- try this cache instead]

Login or register to post comments
Taomyn
Taomyn's picture

Joined: 2003-11-11
Posts: 125
Posted: Thu, 2003-11-13 15:10

Can anyone explain what has to be done for 1.4.1?

The tutorial mentions modifying the switch statement in "wrapper.header.default" but there is no switch statement any more :-?

Is this file broken?

Cheers,
Taomyn

Login or register to post comments
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3469
Posted: Thu, 2003-11-13 15:56

What are you trying to embed your gallery *into*?

-Beckett (

)

Login or register to post comments
Taomyn
Taomyn's picture

Joined: 2003-11-11
Posts: 125
Posted: Thu, 2003-11-13 23:18

I want to be able to embed it into my pretty basic PHP based website and also into my friends FrontPage created pages.

I managed to modify my old photo gallery code so that I could call anyone of my albums with only the pictures and navigation links within the album (so they can't access any other albums) showing. For my friends FP pages, I simply used an inline frame to display the appropriate album in.

Taomyn

Login or register to post comments
pamela

Joined: 2002-09-14
Posts: 12
Posted: Fri, 2003-11-14 08:17
Taomyn wrote:
I managed to modify my old photo gallery code so that I could call anyone of my albums with only the pictures and navigation links within the album (so they can't access any other albums) showing.

Would you mind sharing how you've done that? It's exactly what I'm trying to figure out how to do.

Login or register to post comments
Taomyn
Taomyn's picture

Joined: 2003-11-11
Posts: 125
Posted: Fri, 2003-11-14 08:31

Pamela, when I wrote of "old photo gallery", I meant a totally different system that I cobbled together ages ago. Once I learn how to achieve the same with Gallery I'll be sure to share my knowledge,

Taomyn

Login or register to post comments
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3469
Posted: Fri, 2003-11-14 08:33

Okay. You might find the tutorials listed in this thread to be very useful for embedding Gallery into your site.

http://gallery.sf.net/forums.php?topic=8122

You shouldn't need to worry about the wrapper stuff or any GALLERY_EMBEDDED_INSIDE stuff, which is used for embedding Gallery into more complex entities such as PostNuke, PHP-Nuke, where Gallery needs to access some of its resources, such as user data.

-Beckett (

)

Login or register to post comments
mariealline

Joined: 2002-10-24
Posts: 88
Posted: Fri, 2003-11-28 06:00

I'm trying to embed the latest version into phpWebsite and have used Muggles hack in the past. In index.php I am getting this error.

Warning: main(modules/gallery/do_command.php): failed to open stream: No such file or directory in /home/marieall/wwwroot/footprints-online.com/mod/gallery/index.php on line 134

Warning: main(): Failed opening 'modules/gallery/do_command.php' for inclusion (include_path='') in /home/marieall/wwwroot/footprints-online.com/mod/gallery/index.php on line 134

Has anyone embedded the latest version successfully into phpWebsite 8.3?

Thanks,

Marie Alline

Login or register to post comments
jsumners

Joined: 2003-12-05
Posts: 1
Posted: Fri, 2003-12-05 06:14

The tutorial really does need to be updated. I can not find "lib_layout.php" any where in the Gallery source tree. In fact, I don't see any of the libraries mentioned in the tutorial.

I am trying to rework the user authentication system to use the users table from a FUD Forum (http://fud.prohost.org/). Trying to blindly wade through the Gallery source is proving to be more work than it is worth. Any pointers would be greatly appreciated.

Login or register to post comments
arakune

Joined: 2004-04-13
Posts: 1
Posted: Tue, 2004-04-13 02:12
jsumners wrote:
The tutorial really does need to be updated. I can not find "lib_layout.php" any where in the Gallery source tree. In fact, I don't see any of the libraries mentioned in the tutorial.

I am trying to rework the user authentication system to use the users table from a FUD Forum (http://fud.prohost.org/). Trying to blindly wade through the Gallery source is proving to be more work than it is worth. Any pointers would be greatly appreciated.

Did you end up having any luck with this? I'm just starting to look at integrating FUDForum with Gallery, and looking for pointers myself.

Login or register to post comments
pezastic
pezastic's picture

Joined: 2003-06-28
Posts: 65
Posted: Tue, 2004-05-04 04:01

Is there anywhere to learn how to embed Gallery on a personal site? I already have a header, footer, an right an left sidebars. I would like to have Gallery displayed in between them. I read the tutorial Part 6: Gallery with a Header & Footer with Right & Left sidebars but didn't understand what it is that I should do. Is there anywhere else I can go for simpler instructions? Here is where I want Gallery to be embedded.

Login or register to post comments
plod

Joined: 2004-07-09
Posts: 2
Posted: Fri, 2004-07-09 13:55

hello there, I am trying to embed gallery into my sites allready created template engine, all i really need gallery to do is to make the html that goes in between <body></body> everything else from the template needs an include "/home/plod/incs/top.php";

at the top and an include "/home/plod/incs/bot.php";

i would also like the echo that goes between <title></title> in a var $title

in the past i've edited all the pages that draw the html ie albums.php view_album.php etc

but i think this is a bit dirty, especially when to my understanding there is this GALLERY_EMBEDDED_INSIDE which i could utilise. I'm not sure if this is the place to post this question or to post a new topic, but all help would be greatfully received.

Kind Regards
plod

Login or register to post comments
sparker

Joined: 2004-02-18
Posts: 27
Posted: Fri, 2004-08-06 02:35

Does anybody know where a tip-sheet or instructions are for embedding Gallery 1.1.4 in phpBB2 2.0.10. I see it's an option during the Gallery installation, but I'm not sure what else I need to do other than install it in the same directory phpBB2 is in.

Thanks in advance for any pointers or redirects to instructions.

Steve

Login or register to post comments
valiant

Joined: 2003-01-04
Posts: 31958
Posted: Fri, 2004-08-06 07:05

have a look at the gallery\contrib\phpBB2 folder, there are the instructions.

there are several threads in this forum about problems and issues installing gallery 1.4.4 with phpbb2.0.10, either use the search function of the forum or find them directly if you need to.

Login or register to post comments
sparker

Joined: 2004-02-18
Posts: 27
Posted: Fri, 2004-08-06 14:18

Valiant,

Thanks. It's so easy to get sucked into searching the web for EVERYTHING, one often forgets to search the actual code tree for instructions. :)

Steve

Login or register to post comments
maledictus

Joined: 2005-03-08
Posts: 24
Posted: Thu, 2005-04-14 22:04
arakune wrote:
jsumners wrote:
The tutorial really does need to be updated. I can not find "lib_layout.php" any where in the Gallery source tree. In fact, I don't see any of the libraries mentioned in the tutorial.

I am trying to rework the user authentication system to use the users table from a FUD Forum (http://fud.prohost.org/). Trying to blindly wade through the Gallery source is proving to be more work than it is worth. Any pointers would be greatly appreciated.

Did you end up having any luck with this? I'm just starting to look at integrating FUDForum with Gallery, and looking for pointers myself.

Anything on this topic? I am looking for a way to integrate it to a custom made cms? any ideas?

Login or register to post comments
rhf133

Joined: 2005-06-03
Posts: 1
Posted: Fri, 2005-06-03 15:17

New to Gallery and this forum, I am trying to incorporate random images in my php-based site. I do not use Mambo or post nuke or any other cms, just plain ol php. Is there any hope?

Login or register to post comments
pibroens

Joined: 2004-11-23
Posts: 2
Posted: Fri, 2005-07-22 12:08

Is there already a plugin for LDU?

Login or register to post comments
Homy
Homy's picture

Joined: 2005-09-14
Posts: 7
Posted: Thu, 2005-09-15 06:37

Links posted are broken.

Login or register to post comments
jabdulle

Joined: 2003-10-27
Posts: 1
Posted: Thu, 2006-06-01 03:20

I uploaded Avi vedoe movie clip into my Album but it won't play ..Any help

Login or register to post comments
Asinox

Joined: 2006-10-24
Posts: 2
Posted: Tue, 2006-10-24 19:51

Broken link's

Login or register to post comments
ravedid

Joined: 2007-05-31
Posts: 8
Posted: Sun, 2007-07-15 17:14

yes i also tried broken links

ravedid

Free Pdf Ebooks|Computer Programming

Login or register to post comments
joomlamz
joomlamz's picture

Joined: 2007-02-12
Posts: 1
Posted: Wed, 2007-09-19 02:16

Page not found

Login or register to post comments
cdiprose

Joined: 2007-12-31
Posts: 2
Posted: Mon, 2007-12-31 01:02

A very handy tutorial, bookmarked it in my web development links folder. Thanks for that .. ;)

For Web Design and Web Development contact Kanga Internet. Also experts in SEO and Online Marketing.

Login or register to post comments
cdiprose

Joined: 2007-12-31
Posts: 2
Posted: Mon, 2007-12-31 01:03

For Web Design and Web Development contact Kanga Internet. Also experts in SEO and Online Marketing.

Login or register to post comments