adding png resizing, fixed bug if sb2 mediafile multiple times used.