Jump to:

10382 Posts in 2196 Topics by 1711 members

All other Modules

SilverStripe Forums » All other Modules » Image Gallery Extension: Testers Needed

Discuss all other Modules here.

Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w

Go to End
Author Topic: 67037 Views
  • Leo1305
    Avatar
    Community Member
    6 Posts

    Re: Image Gallery Extension: Testers Needed Link to this post

    hello,

    i´ve got a new problem ... i´ve got 3 album, "Drachenbot Cup 2009", "Abschluss Mörike Realschule 2009" and "Trolli 2009". If i go to Drachenbot Cup or Abschluss Mörike Realschule 2009 everything is ok but if i go to Trolli 2009, the a-tag isn´t http://momentsforever.net/event/album/Trolli-2009 but http://momentsforever.net/event/album/. on all other albums everything is ok.

    please help

    leo

  • Pranil
    Avatar
    Community Member
    17 Posts

    Re: Image Gallery Extension: Testers Needed Link to this post

    Hey i was wondering if anyone knew how to make the gallery link through to the non-resampled images? I've done all the resizing/cropping/adjusting locally. Resampled images look a bit grainy, and i don't really want to have to upload massive photos.

  • UncleCheese
    Avatar
    4085 Posts

    Re: Image Gallery Extension: Testers Needed Link to this post

    Sure, just create your own ImageGalleryPage_album.ss in your mysite folder and customize it as you like.

    Instead of:
                      <a id="ViewLink-$ID" rel="$RelAttr" class="$ClassAttr" title="$Caption" href="$ViewLink"><img src="$ThumbnailURL" alt="$Title"/></a>

    You could change the href to "$Image.URL"

  • UncleCheese
    Avatar
    4085 Posts

    Re: Image Gallery Extension: Testers Needed Link to this post

    But I would start with GD::set_default_quality(100);

  • Pranil
    Avatar
    Community Member
    17 Posts

    Re: Image Gallery Extension: Testers Needed Link to this post

    Thanks for your quick reply, I'm new to Silverstripe so still learning some stuff. Had already set the GD quality, cheers!

  • Pranil
    Avatar
    Community Member
    17 Posts

    Re: Image Gallery Extension: Testers Needed Link to this post

    Ok so i've run in to another problem. We've got out own server with a hosting company, and on this the image gallery module works fine.
    We're developing another site for a client that's on shared hosting, so the server config is a bit different. I also don't have ssh access for this server so it makes dev a bit trickier. I can install the module fine, but in the backend i get an error of the images not uploading. Initially i was getting these alerts (using the swfuploader in the backend): "An error occurred in the upload. Try again later." in a window.alert, and then "An error occurred in the upload. Try again later."
    So i followed this fix: http://www.silverstripe.org/dataobjectmanager-module-forum/show/264716?showPost=264716 and no longer got the alerts.
    BUT, now i'm getting a different problem. The upload completes, but there's no files created in the backend. Looking at the site via ftp shows that no folder named 'image_gallery' is even created in the assets/ folder. So all the images are just blank.
    Had a look at the phpinfo on each of the sites (our server and the shared hosting server) and noticed that the upload_tmp_dir was set to /var/www/tmp on the shared hosting, and /chroot/apache/tmp on our server. The max file size and stuff is fine. Would this impact on how the script runs? I'm running out of ideas on this one...

  • martimiz
    Avatar
    Forum Moderator
    875 Posts

    Re: Image Gallery Extension: Testers Needed Link to this post

    @Anatol
    Dit you (or anyone) ever get the Static Publisher to work for the ImageGallery pages? (as posted in this thread, 21 March 2009,
    http://www.silverstripe.org/all-other-modules/show/250910?start=160)

  • martimiz
    Avatar
    Forum Moderator
    875 Posts

    Re: Image Gallery Extension: Testers Needed Link to this post

    Please ignore this post. found out the site I'm referring to was using an older version of the imagegallery, that still had the Static Publisher issue. Sorry about that...

    67037 Views
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.