Delete any previous square or thumbnail images generated
Avoid warning if using Mysqli