Zum Inhalt springen

Probleme mit dem Darstellen von Bildern in einem FCE

Erstellt am 19. Mai 2008 · 2 Antworten · letzte Antwort am 21. Mai 2008

Tags: Frage

azzazel ·

Hallo

Ich habe ein FCE erstellt indem Bilder angezeigt werden. Nachdem ich den Server gewechselt habe, funktioniert das Darstellen der Bilder nicht mehr!

Das ist der T3-Script Code:

           <field_bild1 type="array">
                <tx_templavoila type="array">
                    <title>Bild 1</title>
                    <sample_data type="array">
                        <numindex index="0"></numindex>
                    </sample_data>
                    <etype>imagefixed</etype>
                    <typoscript>
<![CDATA[

10 = IMAGE
10.file.import = uploads/tx_templavoila/
10.file.import.current = 1
10.file.import.listNum = 0
10.file.maxW = 200
10.file.maxH = 146
10.file.minW = 200
10.file.minH = 146


# Hier wird das Popup erstellt
10.imageLinkWrap = 1
10.imageLinkWrap {

  bodyTag = <body style="background-color:#fff; margin: 0px; padding: 0px;">
  wrap = <a href="javascript:close();"> | </a> 

  enable = 1

  JSwindow = 1
  JSwindows {
    
    newWindow = 0
    expand = 0,0
   }
   
   target = _blank
}
]]>
		</typoscript>
                </tx_templavoila>
                <tceforms type="array">
                    <config type="array">
                        <type>group</type>
                        <internal_type>file</internal_type>
                        <allowed>gif,png,jpg,jpeg</allowed>
                        <max_size>1000</max_size>
                        <uploadfolder>uploads/tx_templavoila</uploadfolder>
                        <show_thumbs>1</show_thumbs>
                        <size>1</size>
                        <maxitems>1</maxitems>
                        <minitems>0</minitems>
                    </config>
                    <label>Bild 1</label>
                </tceforms>
            </field_bild1>

Der output ist folgender:

<a href="index.php?eID=tx_cms_showpic&file=uploads%2Ftx_templavoila%2FCarImage_01.jpg&bodyTag=%3Cbody%20style%3D%22background-color%3A%23fff%3B%20margin%3A%200px%3B%20padding%3A%200px%3B%22%3E&wrap=%3Ca%20href%3D%22javascript%3Aclose%28%29%3B%22%3E%20%7C%20%3C%2Fa%3E&md5=f2171ddb19c4d2cc3c0c6c7df20c1449" onclick="openPic('index.php?eID=tx_cms_showpic&file=uploads%2Ftx_templavoila%2FCarImage_01.jpg&bodyTag=%3Cbody%20style%3D%22background-color%3A%23fff%3B%20margin%3A%200px%3B%20padding%3A%200px%3B%22%3E&wrap=%3Ca%20href%3D%22javascript%3Aclose%28%29%3B%22%3E%20%7C%20%3C%2Fa%3E&md5=f2171ddb19c4d2cc3c0c6c7df20c1449','thePicture','width=300,height=213,status=0,menubar=0'); return false;" target="_blank"><img src="" width="" height="" border="0" alt="" title="" /></a>

Wie unschwer zu erkennen ist, ist das src-Attribut des img-Tags leer. Auf dem alten Server ist hat das src-Attribut einen Wert:

<a href="index.php?eID=tx_cms_showpic&file=uploads%2Ftx_templavoila%2FCarImage_01.jpg&bodyTag=%3Cbody%20style%3D%22background-color%3A%23fff%3B%20margin%3A%200px%3B%20padding%3A%200px%3B%22%3E&wrap=%3Ca%20href%3D%22javascript%3Aclose%28%29%3B%22%3E%20%7C%20%3C%2Fa%3E&md5=a07f92fd19cc4db79718f3b98290986e" onclick="openPic('index.php?eID=tx_cms_showpic&file=uploads%2Ftx_templavoila%2FCarImage_01.jpg&bodyTag=%3Cbody%20style%3D%22background-color%3A%23fff%3B%20margin%3A%200px%3B%20padding%3A%200px%3B%22%3E&wrap=%3Ca%20href%3D%22javascript%3Aclose%28%29%3B%22%3E%20%7C%20%3C%2Fa%3E&md5=a07f92fd19cc4db79718f3b98290986e','thePicture','width=300,height=213,status=0,menubar=0'); return false;" target="_blank"><img src="typo3temp/pics/2b7ccd781f.jpg" width="206" height="146" border="0" alt="" title="" /></a>

Ich weiss nicht an was das liegt. Kann mir da jemand Helfen ?

Herzlichen Dank schon im Voraus.

azzazel

azzazel ·

Hallo Daniz

Ja das ImageMagic ist auf dem Server installiert. Nach zahlreihen Cashleerungen lief es immer noch nicht. Doch siehe da: am naechsten Tag lief es!

Keine Ahnung an was es lag. Wahrscheinlich etwas mit dem Cache des Browsers.

Herzlichen Dank fuer deine Hilfe

gruss

azzazel