Produktbilder und DAM wurde Beantwortet

Autor Nachricht
Verfasst am: 02.04.2008 [17:38]
charlin

[Themenersteller]
dabei seit: 11.08.2004
Beiträge: 120

Hallo!

Ich benötige, um in der Detailansicht unterschiedliche Größen der Produktbilder darzustellen die Extension DAM.
Siehe Artikel: www.typo3.net/index.php?id=13&action=list_post&tid=47178&page=1

Nun habe ich, nachdem leider auch über Google kaum etwas zu finden ist, überhaupt keinen Plan. Seht ihr gleich weiter unten in meinem TS. Ich schaffe es nicht, in der Singleansicht die Bilder darzustellen.

Den TS-Code habe ich natürlich kopiert und an meine Bedürfnisse mit meinen Kenntnissen soweit angepasst.

Hier mein TS:
Typoscript:Zeilennummerierung:  An / Aus

  1. plugin.tt_products.limitImageSingle = 4
  2. plugin.tt_products.separateImage = on
  3.  
  4. plugin.tt_products.conf.tt_products.SINGLE.generatePath {
  5.   type = tablefields
  6.   base = fileadmin/user_upload/Produktbilder
  7.   field.localName = 80
  8. }
  9.  
  10. plugin.tt_products.conf.tt_products.SINGLE.generateImage {
  11.   type = foreigntable
  12.   table = tt_products_images
  13.   uid_local = uid
  14.   uid_foreign = product_uid
  15.   field.localName = 80
  16. }
  17.  
  18. plugin.tt_products.conf.tt_products.SINGLE.image1.a {
  19.   file.maxW = 300
  20.   file.maxH = 200
  21. }
  22.  
  23. plugin.tt_products.conf.tt_products.SINGLE.image2.b {
  24.   file.maxW = 60
  25.   file.maxH = 100
  26. }


Dazu setze ich im HTML-Template folgende Marker:
###PRODUCT_IMAGE1:A###
###PRODUCT_IMAGE2:B###

Dass ich irgendwas falsch mache ist mir klar, aber was???



[Dieser Beitrag wurde 2 mal bearbeitet. Zuletzt am 14.04.2008 um 17:35]
Verfasst am: 24.04.2008 [17:03]
charlin

[Themenersteller]
dabei seit: 11.08.2004
Beiträge: 120

Hallo!

ist nun gelöst.

In der Doku ist es schon gut beschrieben.

Man muss beachten, dass im DAM die Grafiken indiziert sind.
Ebenso muss das dazugehörige TS ins SETUP.

Typoscript:Zeilennummerierung:  An / Aus

  1. plugin.tt_products.conf.tt_products.SINGLE.generatePath {
  2.   base = uploads/pics
  3. }
  4. plugin.tt_products.conf.tt_products.SINGLE.generateImage {
  5.   type = tablefields
  6.   table = tt_products
  7.   field.fieldname = image
  8. }



Viel Spaß!


[Dieser Beitrag wurde 1 mal bearbeitet. Zuletzt am 25.04.2008 um 10:15]




 
TYPO3 Version 4.2.0 testen

TYPO3 Ver. 4.2.0 testen

Testen Sie die neue TYPO3 Version 4.2.0 kostenlos für einen Monat

TYPO3 Bücher

TYPO3 Workshops


TYPO3 Einführungsschulung
in Berlin:
Montag, 07.07.
in Espelkamp:
Montag, 04.08.

TYPO3 Intensivschulung
in Espelkamp:
Mi., 06.08. - Fr., 08.08.
in Würzburg:
Mo., 18.08. - Mi., 20.08.
in Köln:
Mo., 01.09. - Mi., 03.09.
in Berlin:
Mi., 24.09. - Fr., 26.09.

TYPO3 Extensionschulung
in Berlin:
Mo., 14.07. - Mi., 16.07.
in Espelkamp:
Mo., 11.08. - Mi., 13.08.