Hallo Liste,

ich möchte gerne in der tt_news Single View im Kopf ein großes Bild anzeigen lassen, im Footer alle Bilder zur News in einer Galerie. Ich habe dazu per OptionSplit das erste Bild abgesplittet und im Kopf ausgegeben. Im Footer wird die Galerie korrekt angezeigt. Das Kopfbild wird aber nicht in den gewünschten Ausmaßen angezeigt. Statt 508 Pixel hat das Bild eine Breite von 270 Pixel. Ich weiß nicht wo dieser Wert herkommt. Wie kriege ich es hin, dass das erste Bild oben mit der gewünschten Breite ausgegeben wird?

----------------------------------------------------------------
Übergabe an $this->local_cObj->IMAGE aus class.tx_ttnews.php:
----------------------------------------------------------------

Array
(
    [file.] =>  Array
        (
            [maxW] =>  508
            [maxH] =>  180
        )

    [wrap] =>
    [imageLinkWrap] =>  1
    [imageLinkWrap.] =>  Array
        (
            [enable] =>  1
            [bodyTag] =>  <body  bgColor="#ffffff"style="margin:0;">
            [wrap] =>  <a  href="javascript:close();">  |</a>
            [width] =>  800m
            [height] =>  600
            [JSwindow] =>  1
            [JSwindow.] =>  Array
                (
                    [newWindow] =>  1
                    [expand] =>  0,0
                )

        )

    [altText] =>  Druck in einem Ballon
    [titleText] =>
    [file] =>  uploads/pics/kinderfh4_01.jpg
)

----------------------------------------------------------------
Template:
----------------------------------------------------------------

<!-- ###TEMPLATE_SINGLE### begin
        This subpart is used to display single news items
-->
<div class="news-single-item">
    <div class="pre">
                Kurztext
                <div class="news-single-rightbox">
                        ###NEWS_DATE###
                </div>
        </div>
        ###NEWS_IMAGE_1###
        <h1>###NEWS_TITLE###</h1>
        <hr class="cl-right" />

        
        ###NEWS_CONTENT###
        <hr class="cl-right" />
                ###ADDINFO_WRAP_B###

                                ###TEXT_RELATED###
                                ###NEWS_RELATED###

                                ###TEXT_FILES###
                                ###FILE_LINK###

                                ###TEXT_LINKS###
                                ###NEWS_LINKS###

                                ###TEXT_RELATEDBYCATEGORY###
                                ###NEWS_RELATEDBYCATEGORY###

                ###ADDINFO_WRAP_E###
                ###NEWS_SINGLE_PAGEBROWSER###
                
        <div id="gallery">###NEWS_IMAGE###</div>          
        <hr class="cl-left" />
        <a href="javascript:history.back();"><<  ###BACK_TO_LIST###</a>
</div>
<!-- ###TEMPLATE_SINGLE### end -->
----------------------------------------------------------------
TS-Setup-Root:
----------------------------------------------------------------
plugin.tt_news  {
_LOCAL_LANG.de  {
     more  =  [mehr]
     backToList  =  zurück
     goToArchive  =  zum  Archiv
}
}


plugin.tt_news  {
  displayList.date_stdWrap.strftime=  %d.%m.%Y
  displaySingle.date_stdWrap.strftime=  %d.%m.%Y
  allowCaching  =  1
  excludeAlreadyDisplayedNews  =  0
  newssignificance.significancelevel  =  4
newssignificance.mode = min useSPidFromCategory = 1
}
plugin.tt_news  =  USER
tx_crawler.crawlerCfg.paramSets  {
  tt_news  =  &tx_ttnews[tt_news]=[_TABLE:tt_news;_PID:15]
  tt_news.procInstrFilter  =  tx_indexedsearch_reindex,  tx_cachemgm_recache
  tt_news.cHash  =  1
  tt_news.pidsOnly  =  20
}


TS-Setup-Detailseite
----------------------------------------------------------------
plugin.tt_news.displaySingle  {
  imageMarkerOptionSplit  =  1|*|2
  image.file.maxW  =  508|*|188
}

plugin.tt_news.rgsmoothgallery  <  plugin.tx_rgsmoothgallery_pi1
plugin.tt_news.rgsmoothgallery  {
    big  {
    file.maxW  =  508
    file.maxH  =  500
  }
height = 500
  width  =  508
  showThumbs=  1
  thumbOpacity  =  0.8
  lightbox  =  1
  arrows  =  1
  hideInfoPane  =  0
  duration  =  5000
pathToJdgalleryCSS = EXT:rgsmoothgallery/res/css/jd.galleryCool.css }

Angabe im Plugin auf der Detailseite:
---------------------------------------------------------------
Maximale Breite für Bilder in Newsbeiträgen:
508|*|158|*|158|*|158|*|158|*|158|*|158

Extensions/Versionen:
-----------------------------------------------------------------
/newssignificance 1.0.0
//rgsmoothgallery 1.5.2
tt_news 3.1.0
Typo3 4.5.10

Andre
/


_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an