Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, Ed, biapar, Willr, Ingo, swaiba

Upload field for adding images not showing up.


Go to End


16 Posts   3500 Views

Avatar
UncleCheese

Forum Moderator, 4102 Posts

29 January 2010 at 4:13pm

You need to get your site out of live mode so you can get a useable error.

Director::set_environment_type('dev');

Avatar
jarwastudios

Community Member, 9 Posts

29 January 2010 at 4:35pm

Ok, so I did that, and found that there was an error because I didn't have images per page set. So I set it, and now I get the album pages, but no images show up, I just get a loading image and that's it. I did upload 3 images, so it's showing that those exist at least, it's just not actually displaying the images. I checked firebug, and wasn't getting any errors there.

Avatar
UncleCheese

Forum Moderator, 4102 Posts

29 January 2010 at 4:40pm

Do you have a link?

Avatar
jarwastudios

Community Member, 9 Posts

29 January 2010 at 4:41pm

Avatar
jarwastudios

Community Member, 9 Posts

1 February 2010 at 8:54am

I can't figure it out, the images are showing up in the CMS, it looks like it should work, the album pages load up, but the images don't.
http://chucksonmonroe.com/photos/album/chuck-s-test-photo-album

Any ideas? I'm stuck, again...

Avatar
UncleCheese

Forum Moderator, 4102 Posts

1 February 2010 at 11:06am

This file is missing:

http://chucksonmonroe.com/image_gallery/javascript/imagegallery_init.js

do you know anything about that?

Avatar
jarwastudios

Community Member, 9 Posts

1 February 2010 at 12:20pm

Heh, odd. I had the folder named modules-image_gallery, I took off the modules- and it worked! Thanks!!

Avatar
UncleCheese

Forum Moderator, 4102 Posts

1 February 2010 at 12:31pm

Yeah, folder names are compulsory in SS most of the time. Otherwise, the assets don't get pulled in. In my next rev of DOM and ImageGallery, I'm going to have a checkpoint that introspects the folder name so these mysterious errors don't occur.

Go to Top