There should be a heart button on each image page allowing users to like the image. Liked images get their own section on the saved images page (see #12). Heart icon should be filled in red if the user has already liked the image, and it will use a similar system to the user saved images.
The main difference between likes and saved images is that likes (both the count and what you liked) will be publicly viewable. Liked images should be a table with schema Likes(user,image,id) where users can only modify rows where their ID matches the user_id.
There should be a heart button on each image page allowing users to like the image. Liked images get their own section on the saved images page (see #12). Heart icon should be filled in red if the user has already liked the image, and it will use a similar system to the user saved images.
The main difference between likes and saved images is that likes (both the count and what you liked) will be publicly viewable. Liked images should be a table with schema Likes(user,image,id) where users can only modify rows where their ID matches the user_id.