{"id":536,"date":"2013-05-14T12:00:12","date_gmt":"2013-05-14T12:00:12","guid":{"rendered":"http:\/\/www.taywa.ch\/blog\/?p=536"},"modified":"2013-10-01T22:31:45","modified_gmt":"2013-10-01T22:31:45","slug":"levelmedia-fur-seiteneigenschaft-resource-bei-typo3-v6-und-hoher","status":"publish","type":"post","link":"https:\/\/www.taywa.ch\/blog\/allgemein\/levelmedia-fur-seiteneigenschaft-resource-bei-typo3-v6-und-hoher\/","title":{"rendered":"levelmedia f\u00fcr Seiteneigenschaft &#8222;Resource&#8220; bei typo3 V6 und h\u00f6her"},"content":{"rendered":"<p>Update f\u00fcr diesen Artikel f\u00fcr typo3 Verison 6 und 6.1 : <a title=\"In Typo3 mehrere Bilder von Seiteneigenschaft Resources per \u201clevelmedia\u201d mit TypoScript nutzen\" href=\"https:\/\/www.taywa.ch\/blog\/typo3\/typoscript\/typo3-mehrere-bilder-resources-levelmedia\/\" rel=\"bookmark\">In Typo3 mehrere Bilder von Seiteneigenschaft Resources per \u201clevelmedia\u201d mit TypoScript nutzen<\/a><\/p>\n<p>Neu muss es heissen, mit treatIdAsReference = 1:<\/p>\n<div class=\"typoscript dean_ch\"><span class=\"re5\">temp<\/span><span class=\"sy0\">.<\/span>slideshow <span class=\"sy0\">=<\/span> <a href=\"http:\/\/www.typo3.net\/tsref\/cobject\/coa_int\/\"><span class=\"kw4\">COA_INT<\/span><\/a><br \/>\n<span class=\"re5\">temp<\/span><span class=\"sy0\">.<\/span>slideshow <span class=\"br0\">&#123;<\/span><br \/>\n&nbsp; &nbsp; <span class=\"nu0\">1<\/span> <span class=\"sy0\">=<\/span> <a href=\"http:\/\/www.typo3.net\/tsref\/cobject\/coa\/\"><span class=\"kw4\">COA<\/span><\/a><br \/>\n&nbsp; &nbsp; <span class=\"nu0\">1<\/span> <span class=\"br0\">&#123;<\/span><br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; <a href=\"http:\/\/www.typo3.net\/tsref\/functions\/stdwrap\/\"><span class=\"kw2\">stdWrap<\/span><\/a><span class=\"sy0\">.<\/span>required<span class=\"sy0\">=<\/span><span class=\"nu0\">1<\/span><br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; <a href=\"http:\/\/www.typo3.net\/tsref\/functions\/stdwrap\/\"><span class=\"kw2\">stdWrap<\/span><\/a><span class=\"sy0\">.<\/span>outerWrap<span class=\"sy0\">.<\/span>cObject <span class=\"sy0\">=<\/span> <a href=\"http:\/\/www.typo3.net\/tsref\/cobject\/text\/\"><span class=\"kw4\">TEXT<\/span><\/a><br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; <a href=\"http:\/\/www.typo3.net\/tsref\/functions\/stdwrap\/\"><span class=\"kw2\">stdWrap<\/span><\/a><span class=\"sy0\">.<\/span>outerWrap<span class=\"sy0\">.<\/span>cObject<span class=\"sy0\">.<\/span>value <span class=\"sy0\">=<\/span><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" src=\" | \" alt=\"\" width=\"930\" height=\"150\" \/><\/p>\n<div class=\"typoscript dean_ch\">&nbsp; &nbsp; &nbsp; &nbsp; <span class=\"nu0\">2<\/span> <span class=\"sy0\">=<\/span> <a href=\"http:\/\/www.typo3.net\/tsref\/cobject\/img_resource\/\"><span class=\"kw4\">IMG_RESOURCE<\/span><\/a><br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; <span class=\"nu0\">2<\/span> <span class=\"br0\">&#123;<\/span><br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class=\"re5\">file<\/span> <span class=\"br0\">&#123;<\/span> <br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; import<span class=\"sy0\">.<\/span>data <span class=\"sy0\">=<\/span> levelmedia<span class=\"sy0\">:<\/span>&#8211;<span class=\"nu0\">1<\/span>, slide<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; import<span class=\"sy0\">.<\/span>listNum <span class=\"sy0\">=<\/span> rand<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; treatIdAsReference <span class=\"sy0\">=<\/span> <span class=\"nu0\">1<\/span><\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class=\"co1\">\/\/Bildgr\u00f6sse festlegen <\/span><br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class=\"co1\">\/\/ &nbsp;(c = cut: auf diese breite\/h\u00f6he zuschneiden)<\/span><br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; width <span class=\"sy0\">=<\/span> <span class=\"nu0\">930<\/span><br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; height <span class=\"sy0\">=<\/span> 150c<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class=\"br0\">&#125;<\/span><br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; <span class=\"br0\">&#125;<\/span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br \/>\n&nbsp; &nbsp; <span class=\"br0\">&#125;<\/span> &nbsp; &nbsp;<br \/>\n<span class=\"br0\">&#125;<\/span><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Update f\u00fcr diesen Artikel f\u00fcr typo3 Verison 6 und 6.1 : In Typo3 mehrere Bilder von Seiteneigenschaft Resources per \u201clevelmedia\u201d mit TypoScript nutzen Neu muss es heissen, mit treatIdAsReference = 1: temp.slideshow = COA_INT temp.slideshow &#123; &nbsp; &nbsp; 1 = COA &nbsp; &nbsp; 1 &#123; &nbsp; &nbsp; &nbsp; &nbsp; stdWrap.required=1 &nbsp; &nbsp; &nbsp; &nbsp; stdWrap.outerWrap.cObject<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,3,136,4],"tags":[137,138,139,140,180,181],"class_list":["post-536","post","type-post","status-publish","format-standard","hentry","category-allgemein","category-typo3","category-typo3-6","category-typoscript","tag-levelmedia","tag-resource","tag-seiteneingschaft","tag-treatidasreference","tag-typo3","tag-typoscript"],"_links":{"self":[{"href":"https:\/\/www.taywa.ch\/blog\/wp-json\/wp\/v2\/posts\/536","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.taywa.ch\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.taywa.ch\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.taywa.ch\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.taywa.ch\/blog\/wp-json\/wp\/v2\/comments?post=536"}],"version-history":[{"count":12,"href":"https:\/\/www.taywa.ch\/blog\/wp-json\/wp\/v2\/posts\/536\/revisions"}],"predecessor-version":[{"id":589,"href":"https:\/\/www.taywa.ch\/blog\/wp-json\/wp\/v2\/posts\/536\/revisions\/589"}],"wp:attachment":[{"href":"https:\/\/www.taywa.ch\/blog\/wp-json\/wp\/v2\/media?parent=536"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.taywa.ch\/blog\/wp-json\/wp\/v2\/categories?post=536"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.taywa.ch\/blog\/wp-json\/wp\/v2\/tags?post=536"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}