Search code examples
oracle-apex

how to resize image in oracle apex


I have an employees from . I want to upload an image for every employee. and I display the data including image using interactive grid . but I can't do that. I tried to using interactive report instead of IG . but I have to use IG . the other thing I want to resize the image i have uploaded. can anyone help me?


Solution

  • For displaying images in IR, set your image blob column's attributes to -

    • Identification > Display Image
    • BLOB Attributes > Update/Select corresponding values

    Then, give an ID to your IR, example "IR_PHOTO" Place these CSS in page's CSS > inline

    #IR_PHOTO img {
        text-align: center;
        width: 200px; /* any size you want */
        height: auto;
    }