Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 18/11/2017 Black Friday is coming

    Don't wait BLACK FRIDAY, use FRIDAY17 coupon code to get 35% discount for all our extensions right now.

  • 05/09/2017 BIG Autumn SALE

    Use AUTUMN17 coupon code to buy our WordPress or Joomla! extensions with 25% discount. Hurry up! The offer is valid till 11 September.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Show image in table row
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Show image in table row
#57298
Show image in table row 1 Year, 8 Months ago Karma: 0
Hi Ari Soft

Bought the Data tables, and it works great!

Is it possible to show an image in a table row?
The path to the picture is in the database, and is in a varchar column.

I have tried to manually edit the html in the browser inspector, and the output looks ok.
But i wonder if there is a better way?


Regards
John
The administrator has disabled public write access.
 
#57299
Re:Show image in table row 1 Year, 8 Months ago Karma: 670
Hello,

"Columns settings -> Format" parameter can be used for this purpose. For example if URLs to images are store in img column, set "Columns settings -> ID" parameter to img value and populate "Columns settings -> Format" parameter with the following value:

<img src="{$value}" />

Regards,
ARI Soft
The administrator has disabled public write access.
 
#57301
Re:Show image in table row 1 Year, 8 Months ago Karma: 0
It works!

Thx
The administrator has disabled public write access.
 
Go to topPage: 1