Create two tables to facilitate one image and the other product and you can associate the id of the image with the id of the products.
Here, I'll just put an example, you do not need to take it as a base, it's just for you to have a notion.
First create a table to store the images:
create table images (
image_id tinyint(3) not null AUTO_INCREMENT,
image_type varchar(25) not null ,
image blob not null,
image_size varchar(25) not null,
image_ctgy varchar(25) not null,
image_name varchar(50) not null
);
After this, create a product table (I'll just put the product id just for example):
create table products (
products_id int not null AUTO_INCREMENT
);
After this you can associate with the products table the image id with the product id:
select image_id from images join products on images.image_id = products.products_id;
NOTE: In the inner join you place where
to make a condition for these associations.