Comments (5)
Lightbox could be enabled with the resize option. The extension would then produce the following code:
[![example.png](https://flagrow.dev/assets/files/2017-04-03/18:17:190-example-200px.png)](https://flagrow.dev/assets/files/2017-04-03/18:17:190-example.png){.lightbox}
where {.lightbox}
comes from Link attributes.
Simpler syntax could be also generated, for example
![example.png](file:2017-04-03/18:17:190-example.png)
But this would require syntax hooks or something.
from upload.
The drawback of adding the full size image to the page (albeit hidden) will be additional loading time and a tremendous hit on performance. I'm not too sure this will be something we would want. On the other hand, loading the full image only after the thumbnail has been clicked makes more sense.
I'm just a bit confused how to work with this in combination of the resize option in the extension configuration. The lightbox would be optional as well.
from upload.
For Complete image preview template template need to lightbox realy, requires unique number for each image.
And new tag for post title.
Thanks.
from upload.
I'm probably going to need to hack something together for this for a client - @luceos any direction you can give as to how you'd like to see this done?
from upload.
@tobscure I'm not too sure. Adding a new template to choose from will disable the Lightbox for previous uploads. Enabling it by default on all images will enable it for full width included images.
Perhaps this should be a global option and we add a class to the generated output by default on image related templates which do not include the image full width. In case the option is enabled we can show the lightbox. An alternative is doing some magic, screening the included image with jQuery for its width (height can be ignored I think) and whether it fits within the Post Body, if not we allow a lightbox effect.
from upload.
Related Issues (20)
- Cannot resolve host correctly for AWS S3 module HOT 4
- Text files cannot be previewed correctly HOT 2
- S3 Downloads leave temp file in /tmp folder
- PDF Upload HOT 1
- Make Fileinfo PHP extension a requirement or add warning when missing
- FoF\Upload\Exceptions\InvalidDownloadException: cURL error 60: SSL: no alternative certificate subject name matches target host name HOT 2
- ui exception
- My media previews incompatible with webp images HOT 1
- Uploaded images cause layout shifts HOT 1
- Upload folder location configuration HOT 1
- Something went wrong when I tried to upload a image to AWS S3 HOT 5
- Adaptor mapping for custom S3 endpoint is incorrect HOT 6
- UI path to the Media Manager outside of the post composer
- Integration with fof/pages: File rendering & download should work outside of original post
- Problem with cleanup and the S3 upload_method [1.3.0] HOT 1
- Blog thumbnails detected as deleted images by cleanup [1.3.0] HOT 2
- Some error with 1.3.0-beta1 HOT 3
- I don't know what causes the error HOT 1
- Issue on BackBlaze B2's S3 compatibility and possible solution HOT 2
- Download files format viz
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from upload.