First time HTML integration woes...
mag72
Joined: 2007-05-03
Posts: 4 |
![]() |
I just started using Gallery2 and I can't seem to get the parts I want to integrate with my plain HTML web site. I've searched through the forum, but can't seem to find the info I need. I did the whole 'gallery2embedded.php' thing, and it seems to work OK, but I can't get only the pictures/albums to show up in my page...I keep getting all of the stuff around the pictures too (login, search etc. etc.). This is too big for the space I'm putting my pictures in, and ends up distorting the layout of my site. Example: http://www.michiganjapan.com/gallery2embedded.php How can I get just the pictures/galleries, and a filename beneath them to show, I dont need anything else. I know it can be done--I see it on so many of other user's pages. Thanks for any help~ |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
Edit this, and put it in your site's root. |
|
mag72
Joined: 2007-05-03
Posts: 4 |
![]() |
Thank you very much--that solved one problem at least. Now, I'm still getting stuff there that I dont want--the gallery logo, and the 'bars' on top and bottom of the image section. I want the images and image names ONLY. Any way to do this? Do I need a different template or something? And Number 2: When I click on the Albums, it takes me to my homepage, not to the pictures. Why is this? Updated Link: http://michiganjapan.com/michigan-japan-gallery.php Thanks. |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
The 'embedUri' => '/galleryindex.php?' needs to be changed to: 'embedUri' => '/michigan-japan-gallery.php?' line 8 |
|
mag72
Joined: 2007-05-03
Posts: 4 |
![]() |
Ah, thanks, I actually caught that right before you posted. I'll try editing the theme and see how it goes... |
|
mag72
Joined: 2007-05-03
Posts: 4 |
![]() |
That worked! Thank a lot. |
|
domsmooth
Joined: 2007-05-09
Posts: 2 |
![]() |
Hey suprsidr. The file attached above looks simple enough, and I get that I need to save it to my root directory, but how do I call the php file. Would I set my link to my gallery to point at the php file? Sorry, I am bng a little thick today, but this is by far the simplest thread I have come across regarding embedding gallery into a plain html site. Thanks in advance for the insight. Dominic Wieners |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
Yes, you still need to edit it to add any html, stylesheets, or javascript your site requires. |
|
domsmooth
Joined: 2007-05-09
Posts: 2 |
![]() |
Will let you know how all turns out. Thanks a stack! Dominic Wieners |
|
barrymcgee
Joined: 2007-05-10
Posts: 8 |
![]() |
Hi, I have used galleryindex.php file and had encountered some problems.. I'd appreciate any help.. My thread is here; http://gallery.menalto.com/node/64406 --------------- |
|