Raymond,
I did install and upload a picture so I have 1 picture in my gallery.
I put this line in a web page: [[PhotoGallery? &id=’1’]]
But this is what I got: "No gallery specified!"
What am I missing?
Thanks
Same thing:
[[PhotoGallery?id=1]]
No gallery specified!
Do you have any idea what I might be missing?
Thanks
Adam,
That did it!
Thanks
-
☆ A M B ☆
- 24,524 Posts
This is really nice! Just with a bit of creative CSS I was able to use it as a single row of images across the top banner of the page, and make the linked larger image look like a separate page! And I’ll be able to use it again in a slideshow in the sidebar.
-
☆ A M B ☆
- 24,524 Posts
Well, the slideshow feature isn’t what I thought...but that’s OK. Still works great for the top banner.
Did find a slight bug, though; forgot quote marks in the src= on line 511; should be
$chunk_main .= '<a '.$target_to.' href="'.$link.'"><img class="EPG2_image_thumb" alt="'.$picture['title'].'"
src="assets/modules/epg2/image.php?type=pic_thumb&id='.$picture['id'].'" /></a>';
and on line 552
$chunk_main .= '<a '.$target_to.' href="'.$link.'"><img class="EPG2_image_thumb" alt="'.$picture['title'].'"
src="assets/modules/epg2/image.php?type=pic_thumb&id='.$picture['id'].'" /></a>';
and line 577
$chunk_main .= '<img class="EPG2_image_large" alt="'.$picture['title'].'"
src="assets/modules/epg2/image.php?type=pic_large&id='.$picture['id'].'" />';
Nothing vital, but won’t validate like that.
Thanks Susan. I’ll add those in
-
☆ A M B ☆
- 24,524 Posts
Finally got the home page to validate XHTML 1.1; there is something weird about the site, I think it’s something to do with the multilanguage cookie, I can’t "view source", and the W3C validation site can’t get it (gets a 302 Found error), but I can save it as a file, and upload the file to the validator.
Anyway, the other main issue was the SearchForm snippet; it seems that you can’t have bare input fields (or anything else) in a form, they have to be enclosed in a <div> or something INSIDE the form tags. So I just added the <div>...</div> tags inside the form tags in the snippet. Now it’s all nice and valid. If I can only figure out what the problem is with the cookie.
-
☆ A M B ☆
- 24,524 Posts
I have it set up in Slideshow mode, and ran into a problem. When you first open the page, there is no image, just the link for "next image". I’ve studied the code, and I don’t see how to force it to display the first image on startup. Any ideas?