Giter Club home page Giter Club logo

Comments (7)

reddo avatar reddo commented on June 18, 2024 1

I created a pull request. Good luck with the plugin!

from watermark.

lelinhtinh avatar lelinhtinh commented on June 18, 2024

You mean is this: http://jsfiddle.net/710t9fkp/

Ps: If Cross-Origin Resource Sharing policy has allowed, you can use SVG image as the watermark image.
Read more: CORS enabled image

from watermark.

reddo avatar reddo commented on June 18, 2024

I meant like this: http://jsfiddle.net/710t9fkp/1/

The overlayed image is smaller than the png.

BTW, I got it to work already, I fiddled with the js file. Let me know if you want to see the changes I made.

from watermark.

lelinhtinh avatar lelinhtinh commented on June 18, 2024

Oh, of course.

from watermark.

reddo avatar reddo commented on June 18, 2024

Here's the commit to my fork of the plugin with commented updates: https://github.com/reddo/watermark/commit/363f95d548e960eacf91d40f28958b331725defc#diff-3bf449b4fe7e0a5ff82dd73fb274a1fe

Let me know if you want me to do a pull request.

from watermark.

lelinhtinh avatar lelinhtinh commented on June 18, 2024

I found a way to bypass cross-origin, using CORS proxy from http://crossorigin.me/
You can continue to develop this plugin, customize it your way.

Thank you!

from watermark.

lelinhtinh avatar lelinhtinh commented on June 18, 2024

I intend to upgrade this plugin, send me, if you were there.

from watermark.

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.