Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vintage #3

Closed
martmwangi opened this issue Mar 13, 2016 · 4 comments
Closed

Vintage #3

martmwangi opened this issue Mar 13, 2016 · 4 comments
Labels

Comments

@martmwangi
Copy link

Hi, everything works fine except for the custom vintage philters, do I need to link anything else to use them?

@Specro
Copy link
Owner

Specro commented Mar 13, 2016

Hi,
make sure to declare the path to the philter.min.js file when you initialize the plugin. If philter.min.js is in js/philter directory, write it like this new Philter({ url: 'js/philter' });.

Also custom SVG filters don't work without a server since XHR requests to the file system are denied by the browser. If you're developing locally you'll have to setup a gulp or grunt srever or an AMP stack.

Check your browser console. Do you get any warnings or errors?

@martmwangi
Copy link
Author

Hi, I`ll first set up a grunt server, are color philters also part of custom SVG filters?

@Specro
Copy link
Owner

Specro commented Mar 15, 2016

Yes, they are. oh, I also forgot to mention that you need the svg folder in your philter.min.js directory, cause that's where the filters are being loaded from (will add this to readme).

@Specro
Copy link
Owner

Specro commented Mar 22, 2016

Have you solved your issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants