images convert to jpg and decrease images
refactor panel actions