moved image editor to partial