Add SMA to images