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


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.


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?

ckforms image path in mysql table
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: ckforms image path in mysql table
#29167
ckforms image path in mysql table 12 Years, 5 Months ago Karma: 0
Hello,
I have ckforms and aridatatables installed. I list the ckforms data result with aridatatables in frontend.
The ckform is store the file upload in the tmp dir, and the full path in the db. eg.: /home/moviecas/public_html/tmp/20100214060_4fdf2c642e5a4.jpg
I would like to display the image in the table result with fixed width and height.
How can i do this?
The administrator has disabled public write access.
 
#29168
Re:ckforms image path in mysql table 12 Years, 5 Months ago Karma: 760
Hello,

You can use "Columns Settings -> Format" parameter. Set name of the column with the images in "Columns Settings -> ID" parameter and populate "Columns Settings -> Format" parameter with the following value:

<img src="{$value|replace:/home/moviecas/public_html:}" />

Regards,
ARI Soft
The administrator has disabled public write access.
 
#29169
Re:ckforms image path in mysql table 12 Years, 5 Months ago Karma: 0
thx for the quick reply, but isn't working.
The column name in the ckforms table is F21.
so i write F21 for the format parameter id field, and paste the code for the value.
I try it recognize links and without it. the result is same, no image display.
I attached the module properities

The administrator has disabled public write access.
 
#29170
Re:ckforms image path in mysql table 12 Years, 5 Months ago Karma: 760
Could you provide a link to a page with the module? If it is private, you can send it by email.

Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 1