Comments (6)
Hi Dan,
It's impossible to troubleshoot your problem unless you can provide me with the following:
- Error messages from your browser console, if any, and
- A minimal demo of your issue (JSbin or JSFiddle would be sufficient)
Also, you should check if:
- Fluidbox.js and its dependencies have been loaded successfully
- The associated stylesheet is included (although unlikely an issue, since your white overlay is showing fine), and check for override styles in your document
I am guessing that there is a problem with the script not being able to calculate the correct scaling factor, but then again, without further information on you it is hard to diagnose but to make an educated guess.
from fluidbox.
Hi Terry,
Thanks for your prompt response.
Based on your feedback, I created a barebones Bootstrap/Fluidbox demo and couldn't replicate the problem. So it's obviously an issue specific to my setup, rather than something linked to Bootstrap.
Further debugging suggests that the CSS transforms aren't being applied. Comparing the results from the "Broken" website to the "Working" demo, I've uploaded a couple of screenshots showing the results differing between the two (no CSS transforms/scaling).
https://dl.dropboxusercontent.com/u/16428633/fluidbox.zip
So, my question is: could you point me in the right direction for where this may be happening in your code, or if you have any suggestions/I can provide any further debugging that would be much appreciated.
I'm currently under NDA for this project, so I can't send through the link which would make this process much easier.
Thanks for your help,
Dan.
from fluidbox.
Hi Dan,
I can see that the CSS transformation is not being applied in the broken example, but then again, I am unable to diagnose the problem with simply screenshots... so far I have not encountered any issues like that before, so my hands are more or less tied.
Are you using the latest release of Fluidbox? Does the browser console log any error messages?
from fluidbox.
Hi Terry,
On the specific page I had this issue, the page was referencing an outdated jQuery file (version 1.7.2) – updating to the latest version corrected the issue.
Sorry for the hassle.
Thanks,
Dan
from fluidbox.
I can confirm what Dangre is experiencing. Specifically when placing a fluidbox image inside of the bootstrap grid (version 3), it runs into problems. Not from a JavaScript side, but from a presentation view. I'm going to play with the CSS and see if I can override it in a helpful way. Will post back with results.
from fluidbox.
Luke,
Can you confirm that the CSS transform is being applied? My issue was that the images didn't scale and center. If that's what's happening in your case, make sure you're using the latest version of jQuery (http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js).
Thanks
Dan
from fluidbox.
Related Issues (20)
- Update max-width HOT 7
- Bootstrap's container is cropping the enlarged image HOT 1
- trigger('close.fluidbox') breaks re-opening HOT 5
- On Chrome: translate mispositioning HOT 3
- Navigate Fluidbox with Arrow Keys HOT 2
- Trouble installing HOT 5
- Blurry zoomed image on Safari HOT 11
- Scroll to close doesn't work like in Medium HOT 4
- help conflict with mcustomscrollbar HOT 2
- CSS workaround for differential aspect ratios? HOT 1
- It doesn't work within a container. HOT 4
- Update to latest version of jquery HOT 2
- Improve trigger on images with a different a.href HOT 1
- Image URLs containing a plus sign cause an "opening halted" warning
- Update debounce
- Prevent closing fluidbox in closestart event HOT 1
- Safari Still Rendering Blurry Images
- Cropped fluidbox inside block with overflow:hidden
- Getting Console Warning with debounce/throttle plugin
- Event names should be delimited by a space in jQuery.on
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 fluidbox.