Categories > TinyButStrong general >

Show Image in Joomla Plugin

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Wiel
Date: 2012-06-21
Time: 08:55

Show Image in Joomla Plugin

How can i display a image withe the TinyButStrong Joomla plugin?
The url off the picture is in my database and i can see the record what statement i need to show it?
By: Skrol29
Date: 2012-06-21
Time: 23:54

Re: Show Image in Joomla Plugin

Hello Wiel,

It is the same thing as displaying a text that is in the database.

Here is an example of a template snippet that can display an image:
<table border="1">
  <tr bgcolor="#CCCCCC">
    <td>uid</td>
    <td>name</td>
  </tr>
  <tr>
    <td>[u.uid;block=tr]</td>
    <td><a href="[u.link]">[u.caption]</a></td>
  </tr>
</table>
By: Wiel
Date: 2012-06-22
Time: 08:47

Re: Show Image in Joomla Plugin

Thanks for your quick response, this was not wat wanted but after testing your code in the joomla plugin i understood it.


Your comment "It is the same thing as displaying a text that is in the database."
Got me to the simple solution


<img alt="" title="" src="[content.picture]" height="165" width="165" />

Greetings