Image resize issue (2 in a row) |
[eluser]alexdemers[/eluser]
Hey, I have been struggling for an hour with a dozen lines of code and I can't find the issue. Code: // Do the thumbnailing The second thumbnail gets created successfully but the first one's "maintaint_ratio" property gets ignored completly. Here's a screen shot of my I get: http://imgur.com/3ILzA.png The _125 has 125x94 and the _48 has 48x768 which is the original height of the image. What am I doing wrong here? Thanks Edit: Oh, and the output of print_r's are both the same: Code: Array
[eluser]John_Betong[/eluser]
I had a similar problem quite a while ago while I was creating multiple thumbnails and solved it by putting a slight delay before and/or after initialize config; Code: usleep(123) ; // Delay execution in microseconds
[eluser]alexdemers[/eluser]
Just tried that, I didn't work at all. I'm starting to give up on this...
[eluser]John_Betong[/eluser]
[quote author="alexdemers" date="1254963088"]Just tried that, I didn't work at all. I'm starting to give up on this...[/quote] http://johns-jokes.com/c_rabbit/ Check out the above link: Here is the code: Code: <?php if (!defined('BASEPATH')) exit('No direct script access allowed');
[eluser]hamzakhan[/eluser]
http://ellislab.com/forums/viewthread/136755/ please my problem on image rsize and post me any possible reply |
Welcome Guest, Not a member yet? Register Sign In |