GoodApples
Customer
The checkbox was forced to the far right on purpose. I didn't want it checked by accident, wanted it to be a conscious decision.
I'll check why it's not deleting though.
When you delete the image it removes all the image files from the server. Or it should, let me know if it's leaving any behind.
if (file_exists($pic_thumb_name) && !is_dir($pic_thumb_name))
{
@unlink($pic_thumb_name);
}
if (file_exists($pic_full_name) && !is_dir($pic_full_name))
{
@unlink($pic_full_name);
}
if (file_exists($pic_wm_name) && !is_dir($pic_wm_name))
{
@unlink($pic_wm_name);
}
if (file_exists($pic_thumb_name) && !is_dir($pic_thumb_name))
{
unlink($pic_thumb_name);
}
if (file_exists($pic_full_name) && !is_dir($pic_full_name))
{
unlink($pic_full_name);
}
if (file_exists($pic_wm_name) && !is_dir($pic_wm_name))
{
unlink($pic_wm_name);
}
We use essential cookies to make this site work, and optional cookies to enhance your experience.