badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Original size of image in Attachment

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #39495
    bkchua
    Participant

    Hi, good day!

    May I know how I can display the original size of the picture in attachment page? I took a look at the CSS file but did not notice anything that mentioned about the size of the picture in attachment page. Eg. One of the attachment pages.

    Thank you and looking forward to your reply.

    Have a great day.
    bk

    #39593

    Hi bk,
    This attachement page display image in thumbnail view. Its wordpress default feature. If you like to do it with css then you may add this below css in your custom css

    img.attachment-medium{
      width:100%;
    }

    Other wise it needs code customization and you need to hire a developer to fix it. View below link
    https://codex.wordpress.org/Function_Reference/wp_get_attachment_image_src

    Thank you!

    #39848
    bkchua
    Participant

    Hi, thank you so much for the help. Yes, I might need to customize it myself then. If doing through CSS, the image quality is very bad.

    Thank you once again for your kind attention!

    Have a great weekend! 🙂

    #39894

    Yes you are right bkchua. We are back after weekend! 🙂

    Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.