Update my Code for Image Handling on my Existing Project
Budget: ₹600 – ₹750 INR
I have a project where I need your Support in editing my existing Functions to handle Images.
My Code is functioning well, but I need to make the below changes...
1. Insert Record:
--------------------------
a) When Inserting Record, the image file name should be Stored as -- RecordId.jpg -- in the MySql Database.
b) We physically store two images on the Server Path in Folder -- Uploads/IconPack --, I mean Primary Image name will be RecordId.jpg (This is the value we store in Database) and the Secondary Image name will be Thumb_RecordId.jpg (we prefix Thumb_ to the name of the Primary Image Name).
c) The Image Selected to upload may be between 4-8 MB of size and larger dimensions as they are taken from Mobile Camera. We need to Process the Image and Reduce Primary Image Size to 200-300 KB and Secondary image size to 50-75 kb and scale the Image Dimensions appropriately to suit our project requirement.
Note: Though we select the image or not, we pass the value RecordId.jpg to be stored in the database, where NO IMAGES will be Stored physically on the server.
2. Update Record:
--------------------------
a) When Updating the Record, the image file name will remain same as -- RecordId.jpg -- in the MySql Database and the two image Files Existing on the Server Path will be Overwritten with the new Image file.
Note: If the Two Files exists on the Path, then they are Over Written. In case the files i.e, RecordId.jpg and Thumb_RecordId.jpg doesnt exist on the server, then We create new files with these name on the Server.
3. Delete Record:
---------------------------
a) When Record is deleted, then the TWO IMAGE FILES associated with that record shall be Permanently Deleted / Removed from the Server.
Start working only after accepting your proposal.
My Code is functioning well, but I need to make the below changes...
1. Insert Record:
--------------------------
a) When Inserting Record, the image file name should be Stored as -- RecordId.jpg -- in the MySql Database.
b) We physically store two images on the Server Path in Folder -- Uploads/IconPack --, I mean Primary Image name will be RecordId.jpg (This is the value we store in Database) and the Secondary Image name will be Thumb_RecordId.jpg (we prefix Thumb_ to the name of the Primary Image Name).
c) The Image Selected to upload may be between 4-8 MB of size and larger dimensions as they are taken from Mobile Camera. We need to Process the Image and Reduce Primary Image Size to 200-300 KB and Secondary image size to 50-75 kb and scale the Image Dimensions appropriately to suit our project requirement.
Note: Though we select the image or not, we pass the value RecordId.jpg to be stored in the database, where NO IMAGES will be Stored physically on the server.
2. Update Record:
--------------------------
a) When Updating the Record, the image file name will remain same as -- RecordId.jpg -- in the MySql Database and the two image Files Existing on the Server Path will be Overwritten with the new Image file.
Note: If the Two Files exists on the Path, then they are Over Written. In case the files i.e, RecordId.jpg and Thumb_RecordId.jpg doesnt exist on the server, then We create new files with these name on the Server.
3. Delete Record:
---------------------------
a) When Record is deleted, then the TWO IMAGE FILES associated with that record shall be Permanently Deleted / Removed from the Server.
Start working only after accepting your proposal.