Hallo,
was ist an den folgenden Zeilen falsch?
$imageConf = array();
$imageConf["file"] = $imageSrc; // i.e. http://localhost/typo3/uploads/tx_plugin/34411152_01.gif
$imageConf['altText'] = "";
$imageConf['titleText'] = "";
$markerArray['###IMAGE###'] = $this->cObj->IMAGE($imageConf);
$this->cObj->IMAGE($imageConf); gibt gar nichts zurück.
Das Bild ist vorhanden. ImageMagick funktioniert laut Typo3 Test. Es ist die neuste Version installiert.
Wäre dankbar wenn jemand das kurz testen könnte!
$imageSrc = 'fileadmin/zoo/affe1.jpg';
$imageConf = array();
$imageConf["file"] = $imageSrc; // i.e. http://localhost/typo3/uploads/tx_plugin/34411152_01.gif
$imageConf['altText'] = "";
$imageConf['titleText'] = "";
$content = $this->cObj->IMAGE($imageConf);
Funktioniert einwandfrei - sicher das IM funzt?
die Fragen gehen nicht aus.
da mir ein echo(...) gar nichts zurückliefert, geb ich mal $this->cObj aus:
tslib_cObj Object ( [align] => Array ( [0] => center [1] => right [2] => left ) [image_compression] => Array ( [10] => Array ( [params] => [ext] => gif ) [11] => Array ( [params] => -colors 128 [ext] => gif ) [12] => Array ( [params] => -colors 64 [ext] => gif ) [13] => Array ( [params] => -colors 32 [ext] => gif ) [14] => Array ( [params] => -colors 16 [ext] => gif ) [15] => Array ( [params] => -colors 8 [ext] => gif ) [30] => Array ( [params] => -colors 256 [ext] => png ) [31] => Array ( [params] => -colors 128 [ext] => png ) [32] => Array ( [params] => -colors 64 [ext] => png ) [33] => Array ( [params] => -colors 32 [ext] => png ) [34] => Array ( [params] => -colors 16 [ext] => png ) [35] => Array ( [params] => -colors 8 [ext] => png ) [39] => Array ( [params] => [ext] => png ) [20] => Array ( [params] => -quality 100 [ext] => jpg ) [21] => Array ( [params] => -quality 90 [ext] => jpg ) [22] => Array ( [params] => -quality 80 [ext] => jpg ) [23] => Array ( [params] => -quality 70 [ext] => jpg ) [24] => Array ( [params] => -quality 60 [ext] => jpg ) [25] => Array ( [params] => -quality 50 [ext] => jpg ) [26] => Array ( [params] => -quality 40 [ext] => jpg ) [27] => Array ( [params] => -quality 30 [ext] => jpg ) [28] => Array ( [params] => -quality 20 [ext] => jpg ) ) [image_effects] => Array ( [1] => -rotate 90 [2] => -rotate 270 [3] => -rotate 180 [10] => -colorspace GRAY [11] => -sharpen 70 [20] => -normalize [23] => -contrast [25] => -gamma 1.3 [26] => -gamma 0.8 ) [data] => Array ( [uid] => 16 [pid] => 6 [t3ver_oid] => 0 [t3ver_id] => 0 [t3ver_wsid] => 0 [t3ver_label] => [t3ver_state] => 0 [t3ver_stage] => 0 [t3ver_count] => 0 [t3ver_tstamp] => 0 [t3_origuid] => 0 [tstamp] => 1180554139 [hidden] => 0 [sorting] => 8 [CType] => list [header] => ohne flex [header_position] => [bodytext] => [image] => [imagewidth] => 0 [imageorient] => 8 [imagecaption] => [imagecols] => 0 [imageborder] => 0 [media] => [layout] => 0 [deleted] => 0 [cols] => 0 [records] => [pages] => [starttime] => 0 [endtime] => 0 [colPos] => 0 [subheader] => [spaceBefore] => 0 [spaceAfter] => 0 [fe_group] => [header_link] => [imagecaption_position] => [image_link] => [image_zoom] => 0 [image_noRows] => 0 [image_effects] => 0 [image_compression] => 0 [altText] => [titleText] => [longdescURL] => [header_layout] => 0 [text_align] => [text_face] => 0 [text_size] => 0 [text_color] => 0 [text_properties] => 0 [menu_type] => 0 [list_type] => t4_events_pi1 [table_border] => 0 [table_cellspacing] => 0 [table_cellpadding] => 0 [table_bgColor] => 0 [select_key] => [sectionIndex] => 1 [linkToTop] => 0 [filelink_size] => 0 [section_frame] => 0 [date] => 0 [splash_layout] => 0 [multimedia] => [image_frames] => 0 [recursive] => 0 [imageheight] => 0 [rte_enabled] => 0 [sys_language_uid] => 0 [tx_impexp_origuid] => 2517 [pi_flexform] => Array ( [data] => Array ( [sDEF] => Array ( [lDEF] => Array ( [what_to_display] => Array ( [vDEF] => LIST ) [event_selection] => Array ( [vDEF] => ) ) ) ) ) [l18n_parent] => 0 [l18n_diffsource] => a:1:{s:11:"pi_flexform";N;} [tx_srlanguagemenu_type] => 0 [tx_srlanguagemenu_languages] => [currentValue_kidjls9dksoje] => ohne flex ) [oldData] => Array ( ) [alternativeData] => [parameters] => Array ( ) [currentValKey] => currentValue_kidjls9dksoje [currentRecord] => tt_content:16 [currentRecordTotal] => 0 [currentRecordNumber] => 0 [parentRecordNumber] => 1 [parentRecord] => Array ( [data] => Array ( [uid] => 6 [pid] => 0 [t3ver_oid] => 0 [t3ver_id] => 0 [t3ver_wsid] => 0 [t3ver_label] => [t3ver_state] => 0 [t3ver_stage] => 0 [t3ver_count] => 0 [t3ver_tstamp] => 0 [t3ver_swapmode] => 0 [t3_origuid] => 0 [tstamp] => 1180554126 [sorting] => 64 [deleted] => 0 [perms_userid] => 1 [perms_groupid] => 0 [perms_user] => 31 [perms_group] => 31 [perms_everybody] => 0 [editlock] => 0 [crdate] => 1180554126 [cruser_id] => 1 [title] => Test2.T4MEDIA [doktype] => 1 [TSconfig] => [storage_pid] => 0 [is_siteroot] => 0 [php_tree_stop] => 0 [tx_impexp_origuid] => 930 [url] => [hidden] => 0 [starttime] => 0 [endtime] => 0 [urltype] => 1 [shortcut] => 0 [shortcut_mode] => 0 [no_cache] => 1 [fe_group] => [subtitle] => [layout] => 0 [target] => [media] => [lastUpdated] => 0 [keywords] => [cache_timeout] => 0 [newUntil] => 0 [description] => [no_search] => 0 [SYS_LASTCHANGED] => 1180554139 [abstract] => [module] => [extendToSubpages] => 0 [author] => [author_email] => [nav_title] => [nav_hide] => 0 [content_from_pid] => 0 [mount_pid] => 0 [mount_pid_ol] => 0 [alias] => [l18n_cfg] => 0 [fe_login_mode] => 0 ) [currentRecord] => pages:6 ) [regObj] => [INT_include] => 0 [checkPid_cache] => Array ( ) [checkPid_badDoktypeList] => 255 [lastTypoLinkUrl] => index.php?id=6&no_cache=1&no_cache=1&view=1&eid=15 [lastTypoLinkTarget] => [substMarkerCache] => Array ( ) [recordRegister] => Array ( ) [cObjHookObjectsArr] => Array ( ) )
Lässt sich daraus irgendetwas schließen? Danke!