Allowing Images to Display in the Label View
The default layout for the Label view strips out the HTML tags in the content text. You can alter this be creating a layout override for this view.
The directory default_template refers to the template that is set as the default for your site. Please replace this name with the actual name of the template directory.
To create the layout override for this page, find the file:
/components/com_labels/views/label/tmpl/default.php
Copy this to:
/templates/default_template/html/com_labels/label/default.php
Open this new file in your programmers editor.
File the line in the source code that looks similar to the following:
echo '<p class="labels-item-body">',strip_tags($item->text),'</p>';
Remove the strip_tags function call in this line as shown:
echo '<p class="labels-item-body">',$item->text,'</p>';
If the content contains paragraphs, you may also wish to change the paragraph tag to a division as shown:
echo '<div>',$item->text,'</div>';
Save the file and upload the changes to your web site.
No problem, support subscriptions give you access to one-on-one help from real Joomla experts.