Creating Image thumbnail forcely with PHP using Linux

If you are using a Linux based server and your PHP script is allowed to use exec() function of Linux. (I am writing this because due to security reason a lot of servers don’t allow this function to use from PHP script.)   If these are the criteria are full filled then below are one(…)