• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Image Data after manipulation


Been banging my head about this for a while, and have given up trying all different ways to achieve it.


I have the upload script working, which uploads image to a folder on my server, then all the image data is stored in a table within my database.

What I need is:

The upload script to upload the file - Which I have done
Then I want to resize the image - Which I have done
Now I want to store the new image data to the database which should contain the new image size's but for some reason I am not able to get the new image data, i end up putting the original image data into the database

Is there anyone who can help me please, it will probably be an easy solution but for some reason I am not able to see it yet

why not use php's native getimagesize() function ?

If you look down into the source code for the upload/resize libraries in CI you'll find they actually use getimagesize() themselves, so that should give you want you need.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.