10382 Posts in 2196 Topics by 1711 members
|Go to End||Next >|
23 August 2009 at 11:09pm
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.
26 August 2009 at 10:54am
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.
26 August 2009 at 11:29am
Sure, just create your own ImageGalleryPage_album.ss in your mysite folder and customize it as you like.
<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"
26 August 2009 at 11:30am
But I would start with GD::set_default_quality(100);
26 August 2009 at 11:38am
Thanks for your quick reply, I'm new to Silverstripe so still learning some stuff. Had already set the GD quality, cheers!
26 August 2009 at 4:26pm
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...
16 September 2009 at 5:31am
Dit you (or anyone) ever get the Static Publisher to work for the ImageGallery pages? (as posted in this thread, 21 March 2009,
16 September 2009 at 6:52pm Last edited: 20 September 2009 1:26am
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...
|Go to Top||Next >|