I want to generate not only <img> tag for the image but also table around the image with two rows with the image description text showing up in second one.
For example:
Instead of:
<img src="test.jpg">
I want to insert this:
<table>
<tr>
<td>
<img src="test.jpg">
</td>
</tr>
<tr>
<td>
This is a test image....etc....
</td>
</tr>
</table>
I succeeded in adding a new button to the toolbar, but after that I'm not sure what is the right way to go because I'm not getting much results.
To clarify things some more, the biggest mistery remains the way the values from a popup are returned to the editor window.
Thanks
For example:
Instead of:
<img src="test.jpg">
I want to insert this:
<table>
<tr>
<td>
<img src="test.jpg">
</td>
</tr>
<tr>
<td>
This is a test image....etc....
</td>
</tr>
</table>
I succeeded in adding a new button to the toolbar, but after that I'm not sure what is the right way to go because I'm not getting much results.
To clarify things some more, the biggest mistery remains the way the values from a popup are returned to the editor window.
Thanks
RE: Button that inserts a custom tag
Create a table with one cell (via the tool bar), add an image to that cell (via the toolbar). You then have roughly what your after.
Create a table style in the FCK css file and add it to the FCK xml file - providing you with any layout you need for the image table wrapper.