C
|
cgphp 10/19/2012 |
Create a template var (http://xlinesoft.com/phprunner/docs/smarty_templates.htm) in the Visual Editor |
I
|
igiacchi author 10/20/2012 |
Create a template var (http://xlinesoft.com/phprunner/docs/smarty_templates.htm) in the Visual Editor of the Add or Edit page and assign it a value (your image) in the "Before display" event.
|
C
|
cgphp 10/20/2012 |
Remove the BEGIN and END markers. You need only the template var: {$image_value}
$image_value = "CIAO"; |
I
|
igiacchi author 10/24/2012 |
Remove the BEGIN and END markers. You need only the template var: {$image_value}
$image_value = "CIAO";
|
C
|
cgphp 10/24/2012 |
If you want to print out the image, you can use HTML: $image_value = '<img src="'.data$["filename"].'" alt="my image" />';
|
I
|
igiacchi author 10/25/2012 |
If you want to print out the image, you can use HTML: $image_value = '<img src="'.data$["filename"].'" alt="my image" />';
|
C
|
cgphp 10/25/2012 |
Make sure the path to the image is correct. If you want to show the image when you select a value from a dropdown you need some AJAX code. |
I
|
igiacchi author 10/26/2012 |
Make sure the path to the image is correct. If you want to show the image when you select a value from a dropdown you need some AJAX code.
|
C
|
cgphp 10/26/2012 |
Enable the multi upload feature with the "maximum number of files" option set to 1. You will see the preview of the choosen image. |