How to delete a photo in a database? - SOLVED

I need to delete a photo from a database entry but cannot find a way.

I have six photos per product called:

Photo-FRONT
Photo-SIDE
Photo-BACK
Photo-CLOSEUP etc

I want to display all 6 photos and next to it each photo have a png image of an x so when clicked to delete the corresponding image.

Is that possible.
I’ve tried “Delete a Thing” but it only allows me to delete the full entry of that record which will delete all 6 photos and rest of data for that product not an individual photo. What am I doing wrong?

Thanks

I believe the way to do this is to update the URL to be equal to “null” (i.e., blank)

1 Like

Thanks, that worked!

This topic was automatically closed after 70 days. New replies are no longer allowed.