...
The usage is very simple. Put CMS_IMG tag in src attribute in your module like below.
Info |
---|
|
If you are using more then one CMS_IMG per article, you have to change/increment index of the next CMS_IMG . |
Code Block |
---|
|
$src = "CMS_IMG[1]";
echo '<img src="'.$src.'" alt="no picture found" />'; |
Methods for CMS_IMG
List all methods for CMS_IMG at our API documentation.
Function name | Description |
---|
generateViewCode() | Generates the code which should be shown if this content type is shown in the frontend. |
generateEditCode() | Generates the code which should be shown if this content type is edited. |