Comments (6)
Will look into this issue, if you could provide a link with an example picture you try to crop it would help our test team.
Mat
from croppic.
I need help too! is it possible to create a small div with the same ratio as the large file avec crop it ...
from croppic.
An untested solution could be as follwed
you can set the attributes for the crop container also as followed:
$('#cropContainerModal').css({"width":"{}px",
"height":"{}px",
"border":"1px solid #ccc",
"position":"absolute",
"top":"0",
"bottom":"0",
"left":"0",
"right":"0",
"margin":"auto"});
});
so what you could do is to implement within croppic, after the file is loaded, you get the dimensions width and height from the image, then scale it down to your desired size, and set the css new with the code sample above.
you find the following code in croppic for the height and width.
that.imgInitW = that.imgW = response.width;
that.imgInitH = that.imgH = response.height;
from croppic.
I m having problem to crop large image on my site.
Here is my web url https://www.furniturenation.com/croppic/.
The image I've tried to upload is attached below.
from croppic.
i just checked your site, looks ok to me. Is there still an issue.
from croppic.
no feedback received. closing issue.
from croppic.
Related Issues (20)
- Add feature: Drag n Drop
- the site is no more accessible for documentation HOT 1
- Croppic does not generate images HOT 2
- jQuery 3 compatibility issue HOT 3
- Multiple uploading
- Multiple Croppics
- Croppic as App
- Parameter issues ! HOT 1
- Download PHP Example File on your website is not working. HOT 5
- Crop high resolution image and still get a high resolution crop HOT 1
- no works
- Windows 10 Tablet, All Browsers Not Working
- zoom hide
- Can't upload a picture more than 9mo
- Controls missing
- Can`t upload File; no write Access HOT 2
- I need help with trying to save in the original file name.
- Is there or will there be a... No jQuery Version?
- I have 2 question, help please
- Upload Button 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 croppic.