Adding options to set image from the right and forcing displaying border