GithubHelp home page GithubHelp logo

Comments (6)

alexraileanu avatar alexraileanu commented on July 21, 2024 1

as a temporary solution until we have a check on the CLI or something, i found that setting the $preserveFilePath parameter in classes/Tools/Storage/StorageTool.php:1804 where updateAttachmentMetadata is called to false solves the issue.

note that this only works for importing via the CLI.

from ilab-media-tools.

craigpearson avatar craigpearson commented on July 21, 2024

Seconded, this setting isn't honored when using the import tool either in the GUI or via WP CLI. It honored when manually uploading media though

A shame as this means the plugin is not compatible with multisite installs. I've investigated adding this functionality but doesn't seem to be a small task to do so

from ilab-media-tools.

JEricaM avatar JEricaM commented on July 21, 2024

I have the same problem, I can't use the plugin if this problem persist.

from ilab-media-tools.

jawngee avatar jawngee commented on July 21, 2024

The plugin preserves your existing file paths on import because a lot of people complained that it didn't on the support forums. I can add a switch for the CLI but the web UI is a different beast.

Either way it won't happen for awhile as we are gearing up to release 3.0 in the next few weeks.

from ilab-media-tools.

JEricaM avatar JEricaM commented on July 21, 2024

Thank you for your answer!
I think that the switch for the CLI will be a good solution.

from ilab-media-tools.

arwinjp avatar arwinjp commented on July 21, 2024

I'm facing same issue. Could you please point me which class I need to modify to make this work for me?

from ilab-media-tools.

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.