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

thumb path for evoAutoFolder #82

Open
2frags opened this issue Apr 12, 2019 · 0 comments
Open

thumb path for evoAutoFolder #82

2frags opened this issue Apr 12, 2019 · 0 comments

Comments

@2frags
Copy link
Contributor

2frags commented Apr 12, 2019

There is one issue, when using evoAutoFolder plugin together with Pagebuilder.
EvoAutoFolder saves the images into assets/uploads/ directory, so thumb links become broken.
In this case we have to replace:
thumb = thumb.replace('assets/images/', '../assets/' + opts.thumbsDir + '/images/');
to:
thumb = '../' + thumb.replace('/images/', '/' + opts.thumbsDir + '/images/');
in interaction.js

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

No branches or pull requests

1 participant