Hello. Now I'm really embarrassed. However, thought I'd come and own up rather than abandon this thread.
More-speed-less-haste, as they say - too much pressure to do other things rather than work on my website. Having undertaken a simple but nasty hack "for now" as part of my prototype local site, I came back to do the job properly before uploading to the web - having decided Pivotx is deffo the CMS to go with (I've tried-out a number of CMS's, including Textpattern, Flatpress, GetSimpleCMS).
I intended to write a snippet extension based on the existing smarty_image() function. Well of course I realised I'd skimmed (in my haste) and missed the param option: 'inline'.
- Code: Select all
[[ image align="inline" etc., ]]
Doh. Oh boy. And it is documented. "inline" outputs the image without a div wrapper which is what I wanted.
The image is still wrapped by a html paragraph tag which irritates me and I'm pondering whether it irritates me enough to pursue a solution.
- Code: Select all
<p><img src="etc... /></p>
Thanks for your patience.