https://pricespetwarmingpads.blogspot.com/2022/12/automatically-change-image-size-in.html