Jump to:

7940 Posts in 1543 Topics by 946 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » ImageGallery images not showing up and a request

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Page: 1 2 3
Go to End
Author Topic: 2630 Views
  • Shauna G
    Avatar
    Community Member
    52 Posts

    Re: ImageGallery images not showing up and a request Link to this post

    Goes specifically to a gallery page. Unless Page.ss somehow overrides the module templates, there's nothing overriding it. I've added about 40 images to that gallery page, so it should show up in a set of 3 columns and 4 rows, with more pages for the rest.

    I am willing to make a custom template if needed, I just need to know what to put into it that will display the images.

    Thanks for your help.

  • UncleCheese
    Avatar
    4085 Posts

    Re: ImageGallery images not showing up and a request Link to this post

    I don't see any Layout templates in your source code. Where's your $Layout variable?

  • Shauna G
    Avatar
    Community Member
    52 Posts

    Re: ImageGallery images not showing up and a request Link to this post

    *Facepalm* Been working without it, since it didn't seem to do anything when I first started. I've added it now and it fixed my lack of image, but things are still a little wonky on the back end. I'm trying to import the images I've already uploaded, but I'm suddenly getting either a blank Lightbox or an error about trackback (I'll post it the next time I see the error, if you'd like).

    The blank Lightbox window seems to stem from attempting to import large numbers of files. It seems some of the files are imported, but not all of them (perhaps if given enough time?).

    The error has been happening with a different album, regardless of the number of images I attempt to import. Uploading from computer seems to work fine, it's just the import part that isn't working.

    **Edit -- for some reason, using the import from another folder option will only import 7 images at once, and anything more than 5 will give the blank Lightbox. Also, deleting a re-creating a page with the same name will break the Files and Assets view until you delete one of the duplicate folders.

  • ShaneLumos
    Avatar
    Community Member
    11 Posts

    Re: ImageGallery images not showing up and a request Link to this post

    Hello UncleCheese I love the ImageGallery I have been looking at it on wamp and I like it. So I put up my site on to the server and I put up the image_Gallery/ dom and the swfuploadfield mod and I have done dev/build?flush=1 so the it all was working right.

    In the cms it is all working I can see the images but on the portfolio page it is not showing up this is the page
    Portfolio is the gallery

    hope you can help

  • UncleCheese
    Avatar
    4085 Posts

    Re: ImageGallery images not showing up and a request Link to this post

    Are you aware that you have no closing </body> tag? None of the required scripts can be loaded without that.

  • ShaneLumos
    Avatar
    Community Member
    11 Posts

    Re: ImageGallery images not showing up and a request Link to this post

    thank you uncleCheese
    That I did not I have gone through all the code and fixed that problem but the image gallery still not working.

  • Shauna G
    Avatar
    Community Member
    52 Posts

    Re: ImageGallery images not showing up and a request Link to this post

    I don't know if it's your edits, or the core CMS and ImageGallery module (and considering my install doesn't have it, I'm assuming its your edits), but I also noticed there are several errors in your CSS files. I recommend getting the "Web Developer" extension for Firefox and look at the Error Console that it has. While it may not fix your issue, it's probably not helping matters, either.

  • chillburn.com.au
    Avatar
    Community Member
    12 Posts

    Re: ImageGallery images not showing up and a request Link to this post

    Hey shane, in the includeUI function in the ImageGalleryPage.php file it was looking for a js file here:

    image_gallery/javascript/imagegallery_init.js

    Change it to be here

    ImageGallery/javascript/imagegallery_init.js

    So line 237 is to be:

    Requirements::javascript("ImageGallery/javascript/imagegallery_init.js");

    For some reason, your installation was in a folder called ImageGallery, not image_gallery

    2630 Views
Page: 1 2 3
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.