FancyBox extension beta
[deleted]
ctml Can you send me a link ?
[deleted]
@Amarok @ctml This appears to be a known issue - https://stackoverflow.com/questions/14163967/how-to-make-fancybox-not-hide-original-inline-block
However, I'm not entirely convinced that this is the actual fix. What concerns me is that the images on the site provided by @Amarok seem to have a white border around them, whereas mine do not....
AAAANNNNNDDDD - It's reflar/recache
which is the reason why I can't reproduce it. I've just disabled LazyLoad of images, and now I can reproduce exactly the same issue
I'll work on a fix, and publish ASAP.
- Edited
[deleted] uf, it's not just us ^^ GJ anyway
The Css have some padding :
.fancybox-slide > * {
display: inline-block;
position: relative;
padding: 24px;
margin: 44px 0 44px;
border-width: 0;
vertical-align: middle;
text-align: left;
background-color: #fff;
overflow: auto;
box-sizing: border-box;
maybe it's a remnant of the other version made by @malago
[deleted]
Amarok yes, I noticed this also on your site
[deleted] I am trying to debug your error but I can't see why it is happening. It is not the fof/upload extension.
MikeJones I tried with this extension and everything seems to be working just fine, it was also confirmed here:
Amarok
Anyway, I added a couple checks that should fix the issue you had if you want to try @[deleted]
composer update malago/flarum-ext-fancybox
or
composer require malago/flarum-ext-fancybox
The original extension I forked allow for captions and videos too if you have flarum/bbcode
, it's on the readme:
[url fancy=video][/url]
[img title="Caption this."][/img]
[url title="Caption this." fancy][/url]
[url title="Caption this." fancy=video][img][/img][/url]
[url fancy][img title="Caption this."][/img][/url]
Is anyone having issues with this forked extension?
Does anyone know if this works with recache plugin? I think the first version did which is why I shut it off originally.
- Edited
[deleted] I just tried your extension on https://www.seekadventure.net and it like only zooms into the images...
Its live now if you want to check it out foe debugging.
[deleted] work fine for me > take a look here
[deleted]
MikeJones can you provide the output of php flarum info
? I think you have an older version.
[deleted]
Amarok @MikeJones @ctml tagged version 0.1.7, so you might want to update. This one solves a raft of other issues !