Very BASIC question...
jtpalette
Joined: 2010-04-27
Posts: 3 |
![]() |
Hello all! I've recently installed G2 and now I have a basic goal/ usecase... Here's a scenario: I have 3 php pages. One page is for "boats" (boats.php), another is for "motorcycles"(motorcycles.php), and the last is for "light trucks"(trucks.php). Is it possible to create three different photo albums in G2, one for boats, the other for motorcycles, and yet another for light trucks, and just add snippets of code to my original php pages to pull the images down from the database? Ideally I'd love to avoid editing G2 templates. I just want to work with the output code if possible. I hope this makes sense! Thanks to anyone in advance. |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
Quote:
Is it possible to create three different photo albums in G2, one for boats, the other for motorcycles, and yet another for light trucks, Yes just create 3 albums. Quote:
and just add snippets of code to my original php pages to pull the images down from the database? THis is where you lost me. You want to add items to gallery from those pages? then yous use the apropriate add ite function: If that is not what you want to do then you have to be a bit more verbose and explain a bit better. Dave |
|
jtpalette
Joined: 2010-04-27
Posts: 3 |
![]() |
Hey Dave, Thanks for the response. No, I do not want to add items to gallery from those pages. But the opposite. Basically, I have an existing static brochure site: home, about, contact, etc. I wan to add a photo gallery to that site. I don't want the user to to click "photo gallery" and it goes to G2 and look completely different from the existing site. I was hoping there was an easy way to display photos without a lot of development time involved. From what what I've been reading, it seems like I'll have to clone a theme, modify that theme (with my header, navigation, etc), and use that theme with my G2 install. Pretty much like any other open source situation you'd like to customize.... But right now, that's too much WORK. lol I already have my static site. If I could just have a page(s) within the site that showed the images from an album, that would be great for now. Makes sense? Jason |
|
jtpalette
Joined: 2010-04-27
Posts: 3 |
![]() |
I guess I could make this even simpler... Do G2 offer a module to display its contents on existing, static pages? Whewww. |
|
nivekiam
![]()
Joined: 2002-12-10
Posts: 16504 |
![]() |
Yes, there's the ImageBlock plugin as well as this 3rd party tool, which I find easier and more reliable to use: Note, MediaBlock still requires the ImageBlock plugin to be installed. |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
Quote:
Note, MediaBlock still requires the ImageBlock plugin to be installed. Actually not really. To answer your original question... Quote:
just add snippets of code to my original php pages to pull the images down from the database You can use my easy embed tool for your purposes. -s |
|
nivekiam
![]()
Joined: 2002-12-10
Posts: 16504 |
![]() |