GithubHelp home page GithubHelp logo

Generate S3 URL's about richfilemanager-php HOT 4 CLOSED

psolom avatar psolom commented on June 3, 2024
Generate S3 URL's

from richfilemanager-php.

Comments (4)

JjamesS avatar JjamesS commented on June 3, 2024 1

That solved it.

from richfilemanager-php.

psolom avatar psolom commented on June 3, 2024

Technically it's possible, but specify at what exact point you expect RFM to generate S3 URL instead of the connector URL. It's important thing to understand in order to provide a relevant answer.

Anyway you should understand that this will work only if your S3 obects are public.

from richfilemanager-php.

JjamesS avatar JjamesS commented on June 3, 2024

Is there any way to set this at runtime in the PHP connector?
in filemanager.config.json

    "viewer": {
        "absolutePath": true,
        "previewUrl": "http://blah-blah-blah.s3.amazonaws.com/",

from richfilemanager-php.

psolom avatar psolom commented on June 3, 2024

You have configured your filemanager.config.json correctly.

The only way to redefine client-side configuration options is the "initiate" API method. I have been thinking on the capability to update options returned in this method. For example, introduce new $config["client-side"] variable to define client-side options that will be merged with the ones defined in the "initiate" method then. What do you think of this approach?

from richfilemanager-php.

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.