Announcement

#1 2010-07-27 19:39:19

Darwin
Guest

How to embed in an existing webpage?

I was wondering if it is possible to embed piwigo in an existing webpage. Via a script or something, that the link is not static and changes every time you click on a different link/photo in the embedded webpage.

Thx in advance.

 

#2 2010-07-28 01:13:08

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: How to embed in an existing webpage?

Hi Darwin,

You mean something like an iframe? Like this gallery http://www.queguineur.fr ?

Offline

 

#3 2010-07-28 13:02:04

Darwin
Guest

Re: How to embed in an existing webpage?

No, not like this iframe. When you use an iframe like this, the link is static. I mean when you click on a picture the link changes. For example http://www.yourwebsite.com/index.php?/category/1, and then clicking an image makes the link changing to  http://www.yourwebsite.com//picture.php?/34/category/1 integrated in your existing webpage. If that would be possible, it would be awesome.

 

#4 2010-07-29 12:45:41

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: How to embed in an existing webpage?

If I understand correctly, you need Piwigo to manage the pages + Piwigo displays a specific header/footer. Right?

Offline

 

#5 2010-07-29 13:44:21

Darwin
Guest

Re: How to embed in an existing webpage?

Yeah, something like that. Is that possible with piwigo? I have seen it before with other galleries, but I want to integrate piwigo in my website.

 

#6 2010-07-29 13:46:14

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: How to embed in an existing webpage?

With Piwigo you can customize your header and your footer so that it fits in your existing website.

Offline

 

#7 2010-07-29 14:43:21

Darwin
Guest

Re: How to embed in an existing webpage?

Where can i find some documentation?

 

#8 2010-07-29 15:18:07

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: How to embed in an existing webpage?

For example, to create a theme, read http://piwigo.org/doc/doku.php?id=en:dev:theme_creation

(and in your personal theme, changer overload template/header.tpl)

Offline

 

#9 2010-07-29 23:42:09

Darwin
Guest

Re: How to embed in an existing webpage?

No, I don't want to create a new theme. I wan't to integrate piwigo with an existing theme  in my website like in an iframe but the when clicking on images the variables should be passed to the url. Just like in this album http://www.sportfotografie.us/?option=c … amp;id=186
Every time you click an image the url changes, I find this important because I want to link photos, but that's not possible with an iframe because the url doesn't change after it has loaded.

 

#10 2010-07-29 23:48:03

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: How to embed in an existing webpage?

I'm sorry but I think this is not possible.

If you want to have "Piwigo URLs", then it means that Piwigo is the master. If Piwigo is the master, then you have to give it a theme that complies with other sections of your website.

Offline

 

#11 2010-07-30 00:11:30

Darwin
Guest

Re: How to embed in an existing webpage?

To bad, maybe you guys can make it possible for the next version. Maybe you can get inspiration with plogger how to do it:

http://www.plogger.org/docs/config/#integration

I was hoping that you guys had something similar.  Besides that, plogger sucks and piwigo rules!

 

#12 2010-09-28 13:54:58

smaperry
Guest

Re: How to embed in an existing webpage?

I am putting together a webpage using Kompozer and have already set pages in the menu for my weblog, and gallery.  Having spent near on 2 weeks with piwigo (uploading photos; adding comments; titles; etc) I then discover that it does not embed into my desired webpage.  Just as the guy here was explaining.
Is there a way of embedding piwigo as the gallery page into my website rather than being a solitary gallery site?
I could easily scrap piwigo and simply embed a slideshow on my gallery page but that would be: 1. A lot of work wasted and; 2. my gallery would then lack orientation controls needed by the viewer.
Can you help me out of my predicament...maybe there is something I'm completely missing.
Thanks
SP

 

#13 2010-09-28 22:40:51

Hamdi
Guest

Re: How to embed in an existing webpage?

Hi,

You can set up pwg on the other domain. Then just to do is to change database config file with config file that you will copy from the real-estate site ;)   - a bit trick -

 

#14 2010-09-28 22:56:38

smaperry
Member
2010-09-28
9

Re: How to embed in an existing webpage?

Hamdi wrote:

Hi,

You can set up pwg on the other domain. Then just to do is to change database config file with config file that you will copy from the real-estate site ;)   - a bit trick -

Thanks Hamdi, but sadly I have no idea what it is you are talking about.
Is there any tutorial or step by step instruction for this?  I am hosted by Bluehost and have a wordpress blog, Piwigo as my gallery and a main website that I want to integrate into my main webpage.
Thanks
SP

Offline

 

#15 2010-09-28 23:12:40

Hamdi
Guest

Re: How to embed in an existing webpage?

Hi,

first of all, i understand that you have 2 domains and 2 hostings.
just create a directory under the wp hosting,
then download all files from pwg hosting via ftp,
the upload them to the directory that you create under hosting wp,
then make a link to index.php file in  this directory.

that's all...

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact