[deleted]
Littlegolden Right For obvious reasons, we can't simply exclude the PNG extension as this would mean images that use that won't render.
Littlegolden Right For obvious reasons, we can't simply exclude the PNG extension as this would mean images that use that won't render.
[deleted] pr is ready! phenomlab/fancybox-wrapper2
Littlegolden Thanks. Will review
Tagged 0.5
with commits from @Littlegolden (thanks)
Nice extension, any demo site link please?
Hari Nice extension, any demo site link please?
I think @[deleted] uses it here: https://metabullet.com/ (see any post with image)
Hari hi. There's some links in this post actually
yeah, i was in mobile so i could not find .. now i zoomed in and found one link from screenshots
https://flarum.it/d/47-lista-gruppi-utente
maybe its something that i made wrong, but this is not wrapped in fancybox
its because its on imgur?
Technically imgur is the link to where the picture is, so it is not applied to it. The ending got to contain like .jpg etc.
Correct me if I'm wrong.
Anonymous43 that's correct. The images need to have the correct extension for Fancybox to trigger
Justoverclock This will work https://i.imgur.com/K0Xf0tP.png
But it seem like it overrides from imgur crap to the page... Aiiii , whatever, imgur sucks.
Anonymous43 yes the link was already like this
Yep, I figured that when I placed it in here. Well that's imgur extension, which I will never use, or even care for.
Released version 0.7 with Flarum beta 16 compatibility.
i'm trying to update fancybox but composer say
$ composer update phenomlab/fancybox-wrapper
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Generating autoload files
82 packages you are using are looking for funding.
$ php flarum info
Flarum core 0.1.0-beta.16
PHP version: 7.3.27
Loaded extensions: Core, date, libxml, openssl, pcre, sqlite3, zlib, bcmath, bz2, calendar, ctype, curl, dba, dom, enchant, hash, fileinfo, filter, ftp, gd, gettext, gmp, SPL, iconv, session, intl, json, mbstring, standard, mysqlnd, pcntl, mysqli, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, readline, Reflection, imap, shmop, SimpleXML, soap, sockets, sodium, exif, sysvmsg, sysvsem, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, memcached, ionCube Loader, Zend OPcache
+-----------------------------------+----------------+--------+
| Flarum Extensions | | |
+-----------------------------------+----------------+--------+
| ID | Version | Commit |
+-----------------------------------+----------------+--------+
| flarum-markdown | v0.1.0-beta.16 | |
| flarum-flags | v0.1.0-beta.16 | |
| askvortsov-rich-text | v1.0.2 | |
| justoverclock-lang-ita-extended | 1.0.6 | |
| fof-links | 0.6.0 | |
| flarum-approval | v0.1.0-beta.16 | |
| flarum-bbcode | v0.1.0-beta.16 | |
| flarum-emoji | v0.1.0-beta.16 | |
| flarum-lang-english | v0.1.0-beta.16 | |
| flarum-likes | v0.1.0-beta.16 | |
| flarum-lock | v0.1.0-beta.16 | |
| flarum-mentions | v0.1.0-beta.16 | |
| flarum-statistics | v0.1.0-beta.16 | |
| flarum-sticky | v0.1.0-beta.16 | |
| flarum-subscriptions | v0.1.0-beta.16 | |
| flarum-suspend | v0.1.0-beta.16 | |
| flarum-tags | v0.1.0-beta.16 | |
| fof-formatting | 0.3.1 | |
| fof-oauth | 0.2.1 | |
| fof-analytics | 0.11.0 | |
| sycho-github-milestone | v0.1.1 | |
| fof-share-social | 0.3.0 | |
| fof-polls | 0.3.2 | |
| fof-socialprofile | 0.3.0 | |
| fof-user-bio | 0.4.2 | |
| phenomlab-fancybox-wrapper | 0.5 | |
| fof-best-answer | 0.4.0 | |
| flarumite-simple-discussion-views | 0.3.0 | |
| flarum-pusher | v0.1.0-beta.16 | |
| askvortsov-checklist | v1.0.1 | |
+-----------------------------------+----------------+--------+
Base URL: https://flarum.it
Justoverclock
Try
composer require phenomlab/fancybox-wrapper
or
composer require phenomlab/fancybox-wrapper:"*"
I think v0.7 is available: https://github.com/phenomlab/fancybox-wrapper/releases/tag/0.7
[deleted] this works
Works perfectly on 0.16!