jenssegers / codeigniter-advanced-images Goto Github PK
View Code? Open in Web Editor NEWResize and crop images on the fly
Home Page: http://jenssegers.be
Resize and crop images on the fly
Home Page: http://jenssegers.be
heya , I just installed your controller using spark , and I managed to load the helper function to rewrite the image name but I'm a little stuck on how to actually pass that to the media controller to actually make the image be cropped.
Would really appreciate some hint at least :) . Other than manually copying the files to their respective folders .
Hi,
I dont understand how works the overwriting of the center of the crop. Where it can be modified ( outside the lib itself where I tested it ) and why it is mentionned as below : set the X coodinate AFTER cropping ?!!
After cropping the image dimensions are as requested so the center should not be changed ?!
When I test it, I got black portions in my pic...
Thanks for your help,
FX
x_axis: Sets the X coordinate in pixels (after resizing) for image cropping. For example, a setting of 30 will crop an image 30 pixels from the left.
I can't full image ! You can help me ?
Just trying to get this to work, But does not works @jenssegers
I have attached a zip folder with the full application and you can see if you visit the index I mean the default_action
The images are not loaded
https://drive.google.com/open?id=0B6D3etNOHhPTWGx5bHdiN29kVzg&authuser=0
I am getting the following error:
Severity: Warning
Message: Division by zero
Filename: libraries/MY_Image_lib.php
Line Number: 99
If I turn off error_reporting in the Media controller, I will see the image; however, it will not be resized.
A PHP Error was encountered
Severity: Warning
Message: Division by zero
Filename: libraries/MY_Image_lib.php
Line Number: 99
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.