JustImage rewritten constructor