I followed @ben tutorial on making an image album https://www.testworks2.nl/content/albumpagina.php. All working fine except the delete image. So I followed the tutorial again, but the image will not delete.
I keep getting error on the image delete server action.
Server action is as follows:
- Database Connection: blomynien2019.
- Under globals POST: variable for imageID (idalb_img), albumID (id_alb) and imagefile (imagefile)
- File remove server action: /uploadalbum/{{$_POST.id_alb}}/{{$_POST.imagefile}}
- Thumbnail remover server action: /uploadalbum/{{$_POST.id_alb}}/thumbnails/{{$_POST.imagefile}}
- Database Delete: idalb_img == {{$_POST.idalb_img}}
Any suggestions?