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

Problems with images + captions #94

Closed
JoeCotellese opened this issue Apr 17, 2017 · 1 comment
Closed

Problems with images + captions #94

JoeCotellese opened this issue Apr 17, 2017 · 1 comment

Comments

@JoeCotellese
Copy link

JoeCotellese commented Apr 17, 2017

I'm using Graby library for a side project. When I try to render a page with embedded images the figcaption sometimes gets pushed down part way of the page.

Anyone have any issues with this too?

Here's an example of it happening

@j0k3r
Copy link
Owner

j0k3r commented Apr 18, 2017

I think it's a siteconfig issue.
If you take a closer look at how the figcaption is displayed it is pulled down using some css inside the html. If you remove them, the figcaption is ok.

screen 2017-04-18 a 08 12 10

You can try to remove the style using the siteconfig for medium.
Or maybe add a pre_filters config in extractor > readability > pre_filters to remove them.

@j0k3r j0k3r closed this as completed Apr 18, 2017
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