Giter Site home page Giter Site logo

Comments (6)

AdamRisberg avatar AdamRisberg commented on August 17, 2024

Right now the only customization available is changing the opacity of that box. However, I can probably add in some more options in the next update. What were you looking to customize on it?

from react-image-magnifiers.

arso1er avatar arso1er commented on August 17, 2024

I wanted something like amazon: a div with a background image instead of the white box.

from react-image-magnifiers.

AdamRisberg avatar AdamRisberg commented on August 17, 2024

Yeah, I should be able to add that feature into the next update. Should be done within the next day or two. I've got a couple of other things I want to include.

from react-image-magnifiers.

arso1er avatar arso1er commented on August 17, 2024

OK. Thanks. If you could look at my previous issue too, It would be great.

from react-image-magnifiers.

AdamRisberg avatar AdamRisberg commented on August 17, 2024

It wouldn't feel right to only notify you on one issue. :) So, I just published the update to NPM (version 1.3.0). You can now give the preview box a background image on all applicable components. The overlay color and box border color can also be changed now. So, if you only want to use a background image, you can set the overlayOpacity to zero and set the overlayBoxColor to transparent.

from react-image-magnifiers.

arso1er avatar arso1er commented on August 17, 2024

After update, I got exactly what I wanted.

Thanks again.

from react-image-magnifiers.

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.