10706 Posts in 2388 Topics by 1763 members
|Go to End||Next >|
24 December 2008 at 8:11am
I'm trying to install the image gallery extension (which looks awesome btw) but I'm having all kinds of trouble getting it to work. I can't find any documentation on how to get started. Where do I put the files? Within the root folder or the gallery module. After I flush the db do I make a ss template file called ImageGalleryPage.ss? If so what do I call from there? It looks like there may have been more stuff written on this before the forum redesigns. Hopefully someone can lend a hand. Thanks in advance!
26 December 2008 at 9:22am
I'm the developer of the Image Gallery extension. Hopefully I can help you out.
The demo site is running the original version of the gallery, using Lightwindow 2.0, which does not work in Safari. It's also on SS 2.2.1, so I wouldn't be too worried about things not working there.
I've been meaning to write up some docs. I should have some soon. Here's the basic idea. The Image Gallery extension runs on top of the Gallery extension, so you need to download that first. I know they've taken it down. I'm going to start bundling it with the module or just make it independent all together, since with every version they become more and more distinct from each other.
Drop the folder in your root silverstripe folder, and do a build. You should now be able to create an Image Gallery page in the CMS. If you have a Gallery page already, make sure you change its behavior to ImageGallery Page.
You must have an album in which to put your photos. By default, you get "Default Album." You can rename this as you like, but if you try to delete it, it will come back because it is not possible to have zero albums. In the popup window for the album, you can create a new folder to store your photos, or, if you already have a bunch uploaded somewhere else, you can point it to one of those folders with the "use existing folder" option. Save the album, and add any others you want.
Now, on the front end, the image_gallery folder should give you the necessary templates to get you started. Go to the page and you should get a list of the albums. If you only have one album, it will skip that step and jump right to it. If you're logged in, you'll get some admin controls, including Upload photos, move photos, etc. Click upload, and you'll start an upload queue for that album. Select as many photos as you want and click Save. At the next step you'll be able to add captions. Save, and you'll return to the gallery view. If you don't see your new photos, do a hard refresh. Sometimes the old page caches.
To test out your gallery, click "hide admin controls" and you'll get the experience of a regular user.
That should be good for now. Let me know how you do and I'll get started on docs.
30 December 2008 at 4:37am
The Lightwindow doesn't seem to work on my install. In Opera, firefox and IE7.
I am using sliverstripe 2.2.3
All it seems to do is open a page with the image.
30 December 2008 at 4:55am
Hmm... Lightwindow isn't included with the Image Gallery extension. Are you sure that's what you're using? Try selecting a different one in the Popup tab.
6 January 2009 at 4:05am
Thanks for all the hard work and help w/ this extension! I'm still finding some things confusing, but I'm starting to get the hang of things. My admin controls allow for edits and drag and drop features. However, I still can't upload to the gallery from that part of the interface, I get a save button, but I have no browse type button, am I missing something. Thanks again for your help!
6 January 2009 at 4:40am
Chances are your Flash player needs to be updated. Please confirm that you can use this demo:
If you can't use that demo, your Flash Player is definitely out of date. If you can, let me know what version you're running. I'd be really interested to know what's causing this.
6 January 2009 at 5:19am
Thanks for the quick reply, I've got no problems using that demo you sent.
|Go to Top||Next >|