First Time User Questions

chumba

Joined: 2009-09-23
Posts: 2
Posted: Wed, 2009-09-23 02:54

Hello,

I have a website where a registered user can create a text article.

What i would like to do is for this user to be able to upload photos to accompany this article , so that when any website visitor reads this article they will see the text at the top and a table of the images below the article.

I know that Gallery is designed for uploading and viewing photos. However how can i integrate it into my existing web site. The help pages about integration are too general and difficult to understand.

My site is PHP
Each article has a unique ID, this is what i would like to link to a gallery

Any advice on how to achieve this would be appreciated. Gallery 2 is available with my host as part of fantastico, but I could install Gallery 3 if it was easier to accomplish a simple integration.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2009-09-23 03:54

Are you using a content management system (CMS) as your PMP article backend?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
chumba

Joined: 2009-09-23
Posts: 2
Posted: Wed, 2009-09-23 04:45

No. It's not a commercial CMS. Just a simple list of articles that are stored in a DB.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2009-09-23 05:02

http://codex.gallery2.org/Gallery2:Embedding

You can simple do a simple embed:http://www.flashyourweb.com/staticpages/index.php?page=gallery2_embed-o-rator
but you will have to add the users yourself.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2009-09-23 05:02

There is no embedding API for G3 yet.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team