Okay
  Public Ticket #3142279
Images URL
Closed

Comments

  • Bimal Patel started the conversation

    I am planning to use a 3rd party Image storage server, I want to enter the url of that image into the table column field cell, will that work and  will I be able to create thumbnails?

    Please guide on how it works in wpdatatables

  •  1,851
    Miloš replied


    Hi, Bimal

    Firstly, I would like to sincerely apologize for the delayed response as we have been experiencing an unusually high number of tickets. I am sorry that it has taken longer than usual to respond to your concern and your patience is highly appreciated.

    -

    Yes.  When we use an Image column, or a string column with HTML image tag,

    in both cases, we can use any URL of images,   they do not have to be on your server.

    -

    1.

    The easiest way, if you only with to have one image URL per one cell,

    then you can use our Image column type.

    Rendering rules: If the content of the cells contains a combination of “two sticks” – || – everything to the left of this combination is used as a link to the thumbnail, and everything to the right as a link to the full image size.

    Please check more details on how our image columns work here.

    • Issues to note:
      • Sometimes some issues may appear when you’re sorting on image columns, since it’s done alphabetically, and alphabetic sorting of HTML typically doesn’t make sense.
      • Please note that the plugin does not create thumbnails (at least for the moment), so you will need to take care of this yourself.
      • If you would like to open full-size images in lightbox, you can use a plugin for that, e.g. WP Lightbox 2  (please note that this is available for tables that aren’t editable)


    2.

    The only other way , is to use a String Type column,

    and then you have to input custom HTML ,  and to wrap image links in HTML.

    Please check more on our string columns here.


    Let me know if you have any questions.smile.png


    Kind Regards, 

    Miloš Jovanović
    [email protected]

    Rate my support

    Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/

    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