[SOLVED] Â Display image from URL in db |
11/20/2015 14:13:12 | |
| PHPRunner General questions | ||
|
S
snuffi01 author
I guess that this is simple, but i cant figure it out... |
||
|
|
Sergey Kornilov 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."'>";
|
|
|
|
Sergey Kornilov 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."'>";
|
|
|
|
Sergey Kornilov admin 11/23/2015 |
|
In PHP you can use strlen() function to find the string length: |
|