Project

General

Profile

dev #2797

Updated by Zahid Hassan 8 months ago

## Issue: Implement Image Update Tracking and Refactor Image Handling API 

 ### Description 

 - Create a new table to track the update status of logo and featured images for each tool. 
 - Refactor the API to: 
   - Download logo and featured images from TAAFT. 
   - Convert images to PNG format if the source file is not already PNG. 
   - Update the status of each image in the tracking table after processing. 
   - Update both logo and featured image URLs in the main tools database table. 
 - Implement a database object with tool IDs to prevent redundant updates of logo and featured image URLs when inserting new data. 

 ### Tasks 

 - Design and migrate the tracking table for logo and featured image update statuses. 
 - Refactor API logic for image download, conversion, and storage. 
 - Ensure image processing and database updates are performed only when necessary. 
 - Validate status updates in the tracking table.

Back