7921 Posts in 1359 Topics by 933 members
DataObjectManager Module
SilverStripe Forums » DataObjectManager Module » ImageGallery Always Puts Images in Uploads Folder
Discuss the DataObjectManager module, and the related ImageGallery module.
Moderators: martimiz, UncleCheese, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 873 Views |
-
ImageGallery Always Puts Images in Uploads Folder

15 March 2011 at 12:26pm Last edited: 15 March 2011 12:30pm
I'm having all sorts of problems with uploading images with the ImageGallery module.
Basically, it always makes a copy of the images and puts it in the Uploads folder, as well as whatever folder I wanted.
And uses the image from the Uploads folder rather than the one I've uploaded to whatever sub folder in the assets folder.
So I have hundreds of images in the Uploads folder, and there's the strong possibility that, being all in the same folder, files could overwrite each other.
And then, if I try to upload a second image with the gallery, the uploader displays the thumbnails for the image in the sub folder and the image in the Uploads directory. So I'm always seeing twice the number of files that are actually there.
I'm using SS 2.4.3 with the imagegallery 536 with the Uploadify module.
Any idea of how I can fix this?
Is it an uploadify problem or an ImageGallery problem?
-
Re: ImageGallery Always Puts Images in Uploads Folder

16 March 2011 at 5:47am
Hi _Vince,
I had a similar problem. It is an issue in the FileDataObjectManager.php around line 417. This post solved it for me:
http://www.silverstripe.org/dataobjectmanager-module-forum/show/15755
Thanks,
Jim
| 873 Views | ||
|
Page:
1
|
Go to Top |

