Okay
  Public Ticket #2847414
image display
Closed

Comments

  • Amir started the conversation

    When I upload a high res image to the field, the image is cropped to fit to the cell.

    Is it possible that the image fits to the column completely (is fully visible)?

    As per my need, I have to upload high res images to the table, so I cannot reduce the size of the image.

    Thanks!

    Amir

  •  2,503
    Aleksandar replied

    Hello Amir

    Thank you for your interest in wpDataTables.

    Unfortunately, the issue is with WordPress overwriting the thumbnails.

    See here - this is the full-size image:

    8022411630.png

    But see what happens when I change the image size to Thumbnail:

    4729794909.png

    It's doing the exact same thing it does in our plugin.

    What we can do to override this would be to enter the HTML <img src> property, and define the width there.

    For example:

    <img src="https://localhost/wp-content/uploads/2019/09/download.png" width="150px">
    

    If you would like this, I can show you how to do it. Basically, you'd need to delete that column and create a new "string" type column with One-Line edit editor input type.

    When you type this is, you'll see the images display like this:

    5277474347.png

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  • Amir replied

    Hello,

    I have purchased the plugin. Please guide me how to do it.
    PURCHASE CODE: F2535-14546-23990-3D956-FF10F

    Thanks!
    AMir

  • Amir replied

    Also one more query, can we bulk edit and integar column or only line select column from front end?  It takes a little time to save individually.


    Thanks

  • [deleted] replied

    Hi Amir!

    Aleksandar is out of the office at the moment, so I will forward this to our developers so that they can give you instructions on how it can be done.

    Thank you!