Codeigniter image rotate when image resize |
I have an image with the dimension of (W-3000 X H-4000). When i upload it and resize, it always show like landscape mode, mean new dimension is w-1067 X h-800. I want to create this picture either 800X600 for landscape or 600X800 for portrait. Here is my code:
PHP Code: $config['upload_path'] = './uploads/'; In my code height is always 800px in size. It is ok for 3000X4000 dimension image. But what about when i use 4000X3000 dimension image? Can any one help me about this issue? Thanks |
Messages In This Thread |
Codeigniter image rotate when image resize - by ashisbiswas - 04-15-2016, 09:57 AM
RE: Codeigniter image rotate when image resize - by ashisbiswas - 04-15-2016, 10:17 PM
|