[SOLVED] Â Display image from URL in db |
11/20/2015 2:13:12 PM |
PHPRunner General questions | |
S
snuffi01 author
I guess that this is simple, but i cant figure it out... |
|
![]() |
Admin 11/20/2015 |
This is fairly straightforward. Set 'View as' type of this field to 'Custom' and use the following code: $value = "<img src='".$value."'>"; |
S
|
snuffi01 author 11/20/2015 |
This is fairly straightforward. Set 'View as' type of this field to 'Custom' and use the following code: $value = "<img src='".$value."'>";
|
![]() |
Admin 11/20/2015 |
Sure, you can add width and height attributes to img tag. $value = "<img width=100 height=100 src='".$value."'>"; |
S
|
snuffi01 author 11/21/2015 |
Sure, you can add width and height attributes to img tag. $value = "<img width=100 height=100 src='".$value."'>";
|
![]() |
Admin 11/23/2015 |
In PHP you can use strlen() function to find the string length: |