Comments (8)
Hi!
This is related to the styles (e.g. position) given to the caption. For instance, you could place the text so that it overlays the image. Have you already tried this?
Of course, disadvantage in this case would be that less of the image is visible.
Kind regards,
Cornel
On 04.08.2015, at 11:56, soufflenin [email protected] wrote:
Hello, Cornel!
While testing Lightcase on a mobile device, I stumbled upon this thing: in cases when an image fills the full screen (depends on aspect ratio), the caption fall outside and cannot be read.
Maybe this is not an issue, and I just need to change something in the settings?Cheers!
—
Reply to this email directly or view it on GitHub.
from lightcase.
I've tried to play with captions via CSS, but didn't see any effect whatsoever.
I think, it's all about the resizing of images. For example, I look at the same image twice — with a device positioned vertically and then horizontally. In one case a caption is in the right place and I can see it, with another orientation it falls outside.
Of course, my CSS skills are poor (sad but true), but I've got the feeling that there is another reason for the issue. Most likely, I am wrong (:
from lightcase.
@soufflenin
Ok, i can see the problem in some cases on smaller devices. Let's see what we could do here. But right now I have no idea yet. Even if there is a navigation, the caption wouldn't be readable because navigation would overlay it.
Do you may have a good idea for this?
from lightcase.
I've thought about this, but have no idea so far. Maybe the answer lies somewhere near the limiting of maximum image height? Is it possible to make an additional style rule for small devices (top alignment, perhaps, or forced spacing for captures at the bottom, or something like that)?
from lightcase.
@soufflenin Fixed with 722a9f2 and available in new release tag v2.1.2. Hope this change also covers your needs.
I'm going to close this issue now.
from lightcase.
Looks like it didn't help, but I just performed a quick check so far.
Thank you for your support anyway!
from lightcase.
It repositions the title to the top and left if device width is smaller than 640px.
from lightcase.
OK, I'll test it again. Many thanks!
from lightcase.
Related Issues (20)
- Add *.jpe support HOT 2
- Add images to gallery but only have one image to initialize the gallery HOT 2
- Google Maps error in demo
- Ajax form example error
- Hidiing the scrollbar makes a streching effect to the origin page. HOT 3
- lightcase plugin doesn't work on first click - on me
- Close link for inline lightcase HOT 2
- Position issue in Firefox when reopen a video lightcase HOT 2
- Follow aria / accessibility best practices HOT 1
- jQuery (3.5.1) error when inserting inline popup HOT 3
- Failing to load lightcase video (with wistia) on iphones Safari mainly chrome too HOT 2
- Auto resize iFrame HOT 1
- Fullscreen for youtube embeded videos HOT 1
- Opening inline popup did not copy the events on elements inside
- pinch-to-zoom functionality HOT 1
- Double click on prev/next executes link
- Displaying large image (document scan) with vertical scroll?
- Documentation site has been down for some time. HOT 3
- Inline popup is too narrow
- Website is down
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 lightcase.