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

CoverImage disappear in v1.1.2 #28

Open
K68 opened this issue Apr 17, 2018 · 2 comments
Open

CoverImage disappear in v1.1.2 #28

K68 opened this issue Apr 17, 2018 · 2 comments

Comments

@K68
Copy link

K68 commented Apr 17, 2018

CoverImage disappear in v1.1.2

ImagePath has no effect

@chrislennon
Copy link

@K68 - Just an FYI I was working with this library on another project and encountered the same issue, I believe it can be worked around by commenting out Line 144/145 in the library - will investigate further the impact and if a patch can be made to the upstream.

Edited:

	        var imageCanvas = _util2.default.createCanvas(imageSize - padding * 2, coverImage, self.fillType);
	        coverImage.src = imageCanvas.toDataURL();

To:

	        //var imageCanvas = _util2.default.createCanvas(imageSize - padding * 2, coverImage, self.fillType);
	        //coverImage.src = imageCanvas.toDataURL();

@K68
Copy link
Author

K68 commented Jul 11, 2018

@chrislennon 👍 Thx, I will try your method in my project :)

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

2 participants