[TYPO3-ttnews] Distribute images throughout article text

aaron kenez aaronkenez at gmail.com
Mon Mar 15 07:49:23 CET 2010


Hello I have a very similar question
Is there also typoscript available to do this with html content? ie if you
are using the ttnews_html extension?

As if people are embeding videos then they may want the ability to put the
video within the text rather than just at the bottom of the page? And use
###HTMLCODE###  instead of ###IMAGE###*
Trent Stromkins* bmx269 at gmail.com
<typo3-project-tt-news%40lists.netfielders.de?Subject=%5BTYPO3-ttnews%5D%20Distribute%20images%20throughout%20article%20text&In-Reply-To=>
*Fri Oct 17 19:19:13 CEST 2008*

   - Previous message: [TYPO3-ttnews] Customizing image storage folder
   <http://lists.typo3.org/pipermail/typo3-project-tt-news/2008-October/001886.html>
   - Next message: [TYPO3-ttnews] Author field suggestion
   <http://lists.typo3.org/pipermail/typo3-project-tt-news/2008-October/001888.html>
   - *Messages sorted by:* [ date
]<http://lists.typo3.org/pipermail/typo3-project-tt-news/2008-October/date.html#1887>
[
   thread ]<http://lists.typo3.org/pipermail/typo3-project-tt-news/2008-October/thread.html#1887>
[
   subject ]<http://lists.typo3.org/pipermail/typo3-project-tt-news/2008-October/subject.html#1887>
[
   author ]<http://lists.typo3.org/pipermail/typo3-project-tt-news/2008-October/author.html#1887>

------------------------------

Thank You!!!!

This worked great for me. I was having issues with the timtab blog ext
/ RTE ttnews, as when I would add images to my post via the image
button, after save, they would be stripped from the code. I can not
thank you enough.

Now for my next challenge, making the news display the whole post in
the news list, instead of just a few lines. None the less, I am a happy
man today. :)

-Trent


On 2007-03-03 05:22:38 -0800, Oliver Rowlands <oliver at
liquidlight.co.uk
<http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-tt-news>>
said:

>* Hi Denyer,
*>*
*>* A work around would be to allow images to be inserted into the text RTE
*>* field, this would allow your editors to place the images wherever they
*>* want. This can be achieved by adding the following TSconfig to the page
*>*   or sys-folder which contains your tt_news entries ('Edit page
*>* properties' > 'TSconfig'):
*>*
*>* RTE.default {
*>*    ## Enable the image button
*>*    showButtons := addToList(image)
*>* 	
*>*    ## Tags allowed outside p & div
*>*    ## Adding img tag to the default list
*>*    proc.allowTagsOutside := addToList(img)
*>* 	
*>*    ## Do not remove img tags
*>*    proc.entryHTMLparser_db.tags.img >
*>* }
*>* RTE.default.FE.showButtons < RTE.default.showButtons
*>* RTE.default.FE.proc.allowTagsOutside < RTE.default.proc.allowTagsOutside
*>* RTE.default.FE.proc.entryHTMLparser_db.tags.img >
*>*
*>* Hope this helps,
*>*
*>* Oliver
*>*
*>* Denyer Ec wrote:
*>>* Hey there,
*>>*
*>>* I've been trying (Without much success) to work out a way to distribute the
*>>* images associated with an article evenly throughout the article body, much
*>>* like articles on BBC news (http://news.bbc.co.uk).
*>>* The intention is to either have images appear at paragraph breaks or after
*>>* subsection headings rather than just point-blank within the bodytext itself
*>>* (Which would have semantic consequences). I am aware that with multiple
*>>* pages one can specify image behaviour, but being able to distribute images
*>>* "evenly" or even through the use of a marker in the article text would be a
*>>* huge bonus. Even having the end user drop ###IMAGE### into their article
*>>* text would be a start, and perhaps even the simplest way to overcome the
*>>* problem.
*>>*
*>>* There appears to be a function you can override to control the
image display
*>>* within an article, but I was wondering if anyone has done work on
this issue
*>>* previously that could save me a huge amount of time. I'm fairly
*>>* inexperienced with Typo3 and even the smallest things seem to take forever!
*>>*
*>>* Apologies if I've overlooked anything blatantly obvious, I'm tired and
*>>* hassled from trying to overcome another separate issue with the .crop
*>>* feature for frontpage news!!
*>>*
*>>* Kindest regards,
*>>* Denyerec
*


More information about the TYPO3-project-tt-news mailing list