I want to simply display a given album in a page on an existing site. No bells and whistles. No log-in, no album switching, no uploads, just a straight-forward display. One admin will add pictures by linking directly to the album. Everyone else will just browse the pictures in a site page. I've looked for instructions here and by Googling and they all seem to be trying to things way more complex than what I want. I've tried the documentation and that seemed weak (to say the least) in this area.
1. Is there a simple way to do this with an HTML snippet added to my page?
2. If not, are there (or can anyone provide) any good step-by-step instructions on how to accomplish this?
__________________
Thanks,
Paul
Posts: 8339
Upload this to your gallery2 directory and navigate to it.
I added simple "hints" inside.
-s
FlashYourWeb and Your Gallery
Posts: 20
Thank you. I will try this tomorrow and let you know how it works for me.
Paul
Posts: 20
OK. So I have Gallery2 installed in "public_html" as "gallery2" (via Fantastico at my host). I uploaded the file to there and navigated to it, which launched Gallery 2.1 Updater. After authentication, it said "Error: Some files and or directories in your storage directory are not writeable by the webserver user. Run chown -R webserverUser /home/elysales/public_html/gallery/g2data/ OR run chmod -R 777 /home/elysales/public_html/gallery/g2data/."
Now I installed in "gallery2" not "gallery".
But the updater created a folder "gallery".
In both "gallery" and "gallery2" the folder "g2data" is already 777.
????
Paul
Posts: 20
Thank you. I used this as a starting point (after a total re-install - but that's another issue) and it worked for me. I then went on to tweak the theme and album templates to remove some stuff I didn't want. It is now a seamless integration.
Interestingly, I also tried to move the gallery page outside of the /gallery2/ directory, with appropriate modification of the require_once and $ret lines and it failed in a peculiar way. (The details of which this forum keeps dropping when I preview. I'll try to add them as a separate post.)
Posts: 20
When I looked at the source, it showed it as "(mysite)/galleryindex.php/galleryindex.php/galleryindex.php/galleryindex.php/galleryindex.php/galleryindex.php" for however many times I had navigated within the gallery. After 8 or so iterations, it no longer included my header and footer. (<?php include("include/footer.html"); ?>)
Paul
Posts: 8339
hmm, did you leave the questionmark after /galleryindex.php?
here it is in my gallery directory, and here it is outside.
-s
FlashYourWeb and Your Gallery
Posts: 20
Yes I did. So it must be something else I did. What do the embed and $ret lines look like in your "outside" version?
Paul
Posts: 8339
here you go.
-s
FlashYourWeb and Your Gallery
Posts: 20
Almost works. I tried your "outside version" and everything works except going back from a picture to the gallery index which gives:
Safari can’t open the page “http://../galleryindex.php?&g2_itemId=49” because it can’t find the server “..”.
Firefox does the same thing.
But at least it doesn't do the looping iteration I was seeing earlier.