Giter Club home page Giter Club logo

Comments (3)

jobatkin avatar jobatkin commented on June 8, 2024

I've also had issues when using both the batch uploader and the item uploader. I originally uploaded most of the album items via the batch uploader (uploaded to a different directory than the default files/2010/10), but then wanted to add some more. I thought initially that I could do this by redoing the batch upload, but this duplicated my existing photos as well as adding the new ones (could this be fixed so it just finds the new ones?).
So I deleted the duplicates, then next time I needed to add more I used the single Upload Item option (which goes to the default files/2010/10 directory). Somehow using the combination of both caused some confusion, because in the database all the item paths go to the default directory, and most of those that were in the original batch upload directory showed as broken links in IE (not Chrome though, to add to the confusion!).

In future I'll make sure I put batch uploaded files in the default directory, but ideally I'd like to have my different album images in different directories, and would love to be able to batch upload to existing albums without duplicating the existing images.

from gallery.

boombana avatar boombana commented on June 8, 2024

I'm experiencing a similar issue with the batch uploader overwriting images in the files directory (ie; assets/components/gallery/files/2011/02/).

If you load a batch of images and then load another batch with the same filenames as the first lot they will be overwritten.

I applied a clunky temporary fix to get me out of a pickle. Added date('U') to $dateFolder string in these files:
core/components/gallery/processors/mgr/item/batchupload.php
core/components/gallery/model/gallery/galitem.class.php

$dateFolder = date('Y').'/'.date('m').'/'.date('U').'/';

from gallery.

splittingred avatar splittingred commented on June 8, 2024

Fixed by moving items to album-centric storage:
8e8e53f

from gallery.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.