Jump to:

7940 Posts in 1543 Topics by 946 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » ImageGallery page hangs and feature request

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Page: 1
Go to End
Author Topic: 758 Views
  • Samba Sam
    Avatar
    Community Member
    85 Posts

    ImageGallery page hangs and feature request Link to this post

    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

  • UncleCheese
    Avatar
    4085 Posts

    Re: ImageGallery page hangs and feature request Link to this post

    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.

  • Samba Sam
    Avatar
    Community Member
    85 Posts

    Re: ImageGallery page hangs and feature request Link to this post

    Ya I just realized it was password protected.

    username: holybasil
    password: tulsi

    Thanks for looking,
    Sam

  • UncleCheese
    Avatar
    4085 Posts

    Re: ImageGallery page hangs and feature request Link to this post

    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 -->

  • Samba Sam
    Avatar
    Community Member
    85 Posts

    Re: ImageGallery page hangs and feature request Link to this post

    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

    758 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.