-
Notifications
You must be signed in to change notification settings - Fork 3
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
Lightbox images in articles #20
base: master
Are you sure you want to change the base?
Conversation
… the second shows error.
The lightbox looks cool! I had a look at the problem and it seems that the changes from the commit 3a34d73 do the trick and fix displaying large images. The problem is related to the fact that the Magnific Popup uses the |
@aniawsz |
I made lightbox images in articles in left column (templates/article.html). And it works fine.
But pictures from files *.rst ( I edited firstproject.rst for test) show an error. Probably it's caused by multiplying atributte "class" for this image (see in output "firstproject.jpg").
I have no idea how can I change this bug (I don't know how the first atributte "class" is generated).
This is a part of #19
EDIT: The error is caused for sure by missing href for the image. Adding :target: in *.rst doesn't work properly - it creates an extra with href instead of creating image with href. Then clicking on image causes an error but clicking on the right of the image opens zoomed image.
Any idea how can I fix it?