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.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Image Gallery Extension: Testers Needed


Go to End


417 Posts   117793 Views

Avatar
kuenkuen82

Community Member, 41 Posts

21 April 2010 at 4:36pm

Thanks uncle cheese, if I upgrade to 2.4 is that anything in particular I need to keep an eye on? do I just replace cms, jsparty and sapphire? you said image_gallery is part of the trunk, does there need to be image_gallery folder on the root?

Avatar
UncleCheese

Forum Moderator, 4102 Posts

22 April 2010 at 1:54am

Well you won't replace jsparty, because that doesn't exist anymore. Just sapphire, cms, and then get the whole image_gallery folder from the trunk of the SVN, or the SS download page, because I think that's on the trunk.

Avatar
UncleCheese

Forum Moderator, 4102 Posts

22 April 2010 at 1:55am

Also, the dataobject_manager folder from the trunk, as well.

Avatar
bones

Community Member, 110 Posts

17 May 2010 at 5:46am

Having problems with this module, already posted it here: http://www.silverstripe.org/all-other-modules/show/284254?showPost=284438 so sorry for the double post.

"Having loads of problems with Uncle Cheese's Image Gallery. It works perfectly on my MAMP installation, but not on the live site.

Basically, trying to upload an image results in a generic "page" icon being displayed in place of the thumbnail. The images don't show in "Files & Images", and viewing the live site doesn't show the images at all.

Any suggestions?"

Avatar
silverseba

Community Member, 26 Posts

9 June 2010 at 9:10pm

Hi Uncle Cheese. Sorry for interrupting this thread.
I did a german translation (de_DE) of the image_gallery module (and the dataobject_manager as well). Now I want to share this translation and tried to submit it to the trunk (http://carlinowebdesign.svn.beanstalkapp.com/modules/trunk/image_gallery). But I can´t submit the file because of an authorization error...
In fact I haven´t entered any username or password in my subversion client.

Download works fine though.

How can i submit my current language files?

Avatar
UncleCheese

Forum Moderator, 4102 Posts

10 June 2010 at 1:39am

Edited: 10/06/2010 2:36am

Just email them to me.. Thx.

Avatar
dreamstudio

Community Member, 48 Posts

10 June 2010 at 10:21am

Not sure if you wil be able to help, I installed image gallery last year and got it working fine. I have come back to add another album and can do that, however when I try to load images either upload from the PC or upload from folder it wont work. It might allow me to upload but once done just displays a white page with close and then goes back to the album page with no images. OR it might allow me to upload some photos and then goes to the page where you can caption or rotate but its the same image each time and when you click close again it has no photos

has anyone else come across this problem and what can i do to solve it, based on having changed nothing in the past year

Avatar
Andre

Community Member, 146 Posts

1 October 2010 at 5:49am

Hi UncleCheese I#m haviong the following Problem with Image Gallery. First of all, I fetched the newest Trunk of today but also tried it with Trunks of one and two weeks ago.

Error appears on SS 2.4.0, 2.4.1, 2.4.2

When I Install the image Gallery on a fresh installation, I can ad a first ImageGalleryPage without Problems. But the second one I want to add responses with the Following Error in the Ajax Request (read through Firebug Console):

ERROR [Warning]: rename(/var/customers/df1media/htdocs/assets/image-gallery/NeuImageGalleryPage-10/,/var/customers/df1media/htdocs/assets/image-gallery/NeuImageGalleryPage-11/): No such file or directory
IN POST /admin/AddPageOptionsForm
Line 408 in /var/customers/df1media/htdocs/sapphire/filesystem/File.php

Source
======
  399: 				// Only throw a fatal error if *both* before and after paths don't exist.
  400: 				if(!file_exists($pathBeforeAbs)) throw new Exception("Cannot move $pathBefore to $pathAfter -
       $pathBefore doesn't exist");
  401: 				
  402: 				// Check that target directory (not the file itself) exists.
  403: 				// Only check if we're dealing with a file, otherwise the folder will need to be created
  404: 				if(!file_exists(dirname($pathAfterAbs))) throw new Exception("Cannot move $pathBefore to
       $pathAfter - Directory " . dirname($pathAfter) . " doesn't exist");
  405: 			} 
  406: 			
  407: 			// Rename file or folder
* 408: 			$success = rename($pathBeforeAbs, $pathAfterAbs);
  409: 			if(!$success) throw new Exception("Cannot move $pathBeforeAbs to $pathAfterAbs");
  410: 		}
  411: 		
  412: 		
  413: 		// Update any database references
  414: 		$this->updateLinks($pathBefore, $pathAfter);

Trace
=====
<ul>rename(/var/customers/df1media/htdocs/assets/image-gallery/NeuImageGalleryPage-10/,/var/customers/df1media/htdocs/assets/image-gallery/NeuImageGalleryPage-11/)
line 408 of File.php

File->updateFilesystem()
line 339 of Folder.php

Folder->updateFilesystem()
line 355 of File.php

File->onBeforeWrite()
line 936 of DataObject.php

DataObject->write()
line 91 of ImageGalleryPage.php

ImageGalleryPage->checkFolder()
line 63 of ImageGalleryPage.php

ImageGalleryPage->onAfterWrite()
line 1056 of DataObject.php

DataObject->write()
line 84 of ImageGalleryPage.php

ImageGalleryPage->checkFolder()
line 63 of ImageGalleryPage.php

ImageGalleryPage->onAfterWrite()
line 1056 of DataObject.php

DataObject->write()
line 559 of CMSMain.php

CMSMain->addpage(Array,Form,SS_HTTPRequest)
line 300 of Form.php

Form->httpSubmission(SS_HTTPRequest)
line 137 of RequestHandler.php

RequestHandler->handleRequest(SS_HTTPRequest)
line 155 of RequestHandler.php

RequestHandler->handleRequest(SS_HTTPRequest)
line 147 of Controller.php

Controller->handleRequest(SS_HTTPRequest)
line 281 of Director.php

Director::handleRequest(SS_HTTPRequest,Session)
line 124 of Director.php

Director::direct(/admin/AddPageOptionsForm)
line 127 of main.php

</ul>