Comments (3)
In doing a lot of testing and research I came across this SO: http://stackoverflow.com/questions/11929099/html5-canvas-drawimage-ratio-bug-ios.
If this is related to the issue I'm seeing then this is an issue with IOS 6 & 7. In one of the answers on SO, there was a link to this: https://github.com/stomita/ios-imagefile-megapixel
It appears there may be away to adjust the canvas rendering to help mitigate this issue. I'm going to do some more testing over the next couple of days and see if I can determine this is the issue and if so, if there's a way to integrate the fix into js-cover-flow.
from js-cover-flow.
I have confirmed this is an IOS 6.x and above bug. I have forked js-cover-flow (https://github.com/jawa-the-hutt/js-cover-flow) and have inserted a series of fixes to address the issue. The main source of the fixes has been adapted from https://github.com/stomita/ios-imagefile-megapixel
I've also added an image orientation detection option that will detect if an image is displayed at an incorrect orientation. It requires exif.js and binaryajax.js from here: http://www.nihilogic.dk/labs/exif/. There is now a true/false option in the coverflow setup function that will determine if this routine is used. The default is set to false.
In my fork, I've also added a Firefox browser detection statement that will address the issue I reported here: #17. This fix is more for my personal needs in the project I'm working on, so just be aware of this in case you want to include or exclude it from the master.
This is my first fork of a project so I'm not sure what the proper etiquette here is in terms of having any of the changes committed to the master. Let me know and I'll adjust.
from js-cover-flow.
Thanks for the contributions. I guess this can be closed now.
It was only affecting cover images > 1.5Mb.
from js-cover-flow.
Related Issues (20)
- Disable keyboards hook HOT 1
- Memory Issue HOT 2
- Make coverflow rotate in a cycle HOT 1
- Option to disable trackpad/scrollwheel advance? HOT 1
- Overlay bug in Firefox 23 HOT 7
- Firefox DOMMouseScroll.detail setting HOT 1
- SWF cannot load Base64 encoded images
- API not working after a Shadowbox call in IE
- needs for adjustable scrolling behaviour on iOS and Android (is too sensitive now) HOT 2
- Can't click back a cover bug HOT 3
- IE11 not detected as IE
- Doesn't work at all in IE HOT 4
- Is there a way to change orientation so the coverflow scrolls vertically? HOT 1
- After coverflow component re-setup swiping on touch-device failed HOT 1
- Rotatedelay reset HOT 1
- 'draging items out' on phones HOT 1
- using <a> tag instead of window.open HOT 1
- add refresh method? HOT 1
- CSS selector for current item HOT 1
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 js-cover-flow.