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?

Show images from a table
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: Show images from a table
*
#11916
Show images from a table 13 Years, 8 Months ago Karma: 0
Hi,

Is it possible to show an image (thumbnail), in the tableview
- if there is an image stored in the database?

Best regards
Mads
The administrator has disabled public write access.
 
#11917
Re:Show images from a table 13 Years, 8 Months ago Karma: 760
Hello,

Specify please path to image or image file (as binary object) is stored into the database?

Regards,
ARI Soft
The administrator has disabled public write access.
 
#11919
Re:Show images from a table 13 Years, 8 Months ago Karma: 0
Thanks for your quick reply

The image that is stored in the database look like this:
4d73a5ebc990c-008.jpg

But I think I can change it to the full path so that the images will be stored as:
site.com/images/upload/4d73a5ebc990c-008.jpg in the database

Can that be shown?

Best regards
Mads
The administrator has disabled public write access.
 
#11920
Re:Show images from a table 13 Years, 8 Months ago Karma: 760
Yes, it is possible. Use "Columns settings -> Columns settings" parameter. For example if path to image is stored into "Img" column, set "ID" parameter to "Img" and "Format" parameter to:

Code:


<img src="http://site.com/images/upload/{$value}" />





Regards,
ARI Soft
The administrator has disabled public write access.
 
#11921
Re:Show images from a table 13 Years, 8 Months ago Karma: 0
Thank you very much for your QUICK answer


Best regards
Mads
The administrator has disabled public write access.
 
#11926
Re:Show images from a table 13 Years, 8 Months ago Karma: 0
You solution worked
Thanks

Just curious:

- If the stored images is an absolute path eg.:

/home/user/public_html/site.com/images/uploads/image.jpg
Is it then also possible to show the image?


Best regards
Mads
The administrator has disabled public write access.
 
Go to topPage: 12