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

ImageGallery page hangs and feature request


Go to End


5 Posts   1187 Views

Avatar
Samba Sam

Community Member, 85 Posts

9 November 2009 at 10:42am

Edited: 09/11/2009 10:46am

Hi,
My gallery page hangs. The images never seem to finish loading into the page. It hangs even when I have set to load only 4 images per page.

You can check it out at http://holybasil.info/gallery/

Feature Request:
It would be great to be able to change the file name within the ImageGallery, like you can in the "Files and Images" section of the CMS.
I'm having to go back and forth. First, I have go to the ImageGallery page to see what the pics looks like, jot down the original name, then I have to go Files and Images to change the name to make it more search engine friendly. It would great if I or someone else accessing the CMS could do that in one step -- see image, change title, caption,

Thanks,
Sam

Avatar
UncleCheese

Forum Moderator, 4102 Posts

9 November 2009 at 10:51am

Your page is password protected. Please provide creds.

The issue with the filenames is that you're not editing files in the ImageGallery page. You're editing image-containing dataobjects. The File itself is edited elsewhere. Are your filenames arbitrary? If they adhere to a pattern or convention, just use an onAfterWrite() function in your Item class.

Avatar
Samba Sam

Community Member, 85 Posts

9 November 2009 at 3:32pm

Ya I just realized it was password protected.

username: holybasil
password: tulsi

Thanks for looking,
Sam

Avatar
UncleCheese

Forum Moderator, 4102 Posts

9 November 2009 at 3:53pm

Your page has no closing body tag, so the Javascript isn't being included.

This is the end of your markup:

		

			<p id="Copyright">Island Roots Web Design</p>
			<p id="Authors">&copy 2003-2009 Miller & Singh</p>		

		</div> <!-- END Footer -->

	</div> <!-- END PageContainer -->



Avatar
Samba Sam

Community Member, 85 Posts

10 November 2009 at 6:32am

Edited: 10/11/2009 6:34am

Well that was an oversight. There an't no html closing tag either.

Everything is working now!

Thanks Uncle for the awesome module!

I really appreciate you checking out the code.

Sam