Fancybox wrapper
- Edited
I did a quick test after simply adding the cache-control: public, max-age=14400
and it works
You can check it as before here: https://brickdose.com/d/193-test/2
I'm going to apply the rest of the headers as well but finally it looks like this one was the culprit, thanks for the help to both of you, good eye @rob006
Is there a command to cancel the use of individual pictures
Mathematical formula pictures don't want users to click to enlarge
[deleted]
Geraldlzc Potentially, yes. Can I have a link where this image appears ? If it's a a standard image file, it's going to be difficult to exclude if it does not have it's own associated CSS class.
Are there plans to add a default centering function for images in the next plan? That way I don't have to add [center] [/center]
every time.
[deleted]
giter do you mean before or after fancybox is applied ? If you are looking to center all images in the topic when it loads before you've clicked them, you can do this with some simple CSS.
I've no plans to force styles on anyone
Hi all, just curious if this can be used to make a gallery page of sorts?
[deleted]
trever-s Potentially, yes, but not without further development. In it's current form, it's designed to act as a simple wrapper so won't support galleries off the bat. Having said that, there is already support for clicking one image in a topic, and then the ability to cycle through all images in the topic.
Will this work with images that are uploaded via fof/upload? Coz those don't have [img] tag
I have something like that for fof/upload. It only requires to add one line and 2 files.
[deleted]
@User24 @Anonymous43 it works directly without any need for modifications - fof/upload
is fully supported. I use it all the time on my own site, and it works without issue.
[deleted] I have no idea how or what your extension covers. All images or some images. All at once or single with no arrows.
All I'm saying is that if it didn't, there is a way. Simple alternative, that's all.
- Edited
A minimal no non-sense flarum extension which enables all images to be wrapped in Fancybox by adding a data-fancybox attribute to all img tags
It is said img tags in the extiverse description so wanted to ask, i installed it today in my forum and saw only img tags in wrapper but not the images that were uploaded via fof/upload... am i missing anything ?
EDIT:
Yes it is working for images uploaded via fof/upload
too
[deleted]
User24 Yes it is working for images uploaded via fof/upload too
Yes, there is logic that looks for image extensions, and not just <img> tags
[deleted]
Hari There is, yes. I can add that fairly easily.
[deleted]
Hari The extension is a simple wrapper and has no settings. I have no intention of adding any settings either. Easy to exclude GIF images, but this will be across the board with no option to change (unless you fork and change it).
Is there a way to hide the bar below the photos which becomes green after mouse hover over the picture?
Great Extension! Absolutely appreciated!