Jump to:

7940 Posts in 1543 Topics by 946 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, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 999 Views
  • _Vince
    Avatar
    Community Member
    161 Posts

    ImageGallery Always Puts Images in Uploads Folder Link to this post

    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?

  • James Bolitho
    Avatar
    Community Member
    33 Posts

    Re: ImageGallery Always Puts Images in Uploads Folder Link to this post

    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

    999 Views
Page: 1
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.