List attached media


/ Published in: TYPO3
Save to your folder(s)



Copy this code and paste it in your HTML
  1. lib.slider = COA
  2. lib.slider {
  3. 1 = COA
  4. 1 {
  5. stdWrap.required=1
  6. stdWrap.outerWrap.cObject = TEXT
  7. stdWrap.outerWrap.cObject.value = <li><img src="|" /></li>
  8. 2 {
  9. file {
  10. import.data = levelmedia:-1, slide
  11. # required = 1
  12. import = uploads/media/
  13. import.listNum = 0
  14. width = 930
  15. height = 240
  16. }
  17. }
  18. }
  19. 2 < .1
  20. 2.2.file.import.listNum = 1
  21. 3 < .1
  22. 3.2.file.import.listNum = 2
  23. 4 < .1
  24. 4.2.file.import.listNum = 3
  25. 5 < .1
  26. 5.2.file.import.listNum = 4
  27. 6 < .1
  28. 6.2.file.import.listNum = 5
  29. 7 < .1
  30. 7.2.file.import.listNum = 6
  31. 8 < .1
  32. 8.2.file.import.listNum = 7
  33. 9 < .1
  34. 9.2.file.import.listNum = 8
  35. 10 < .1
  36. 10.2.file.import.listNum = 9
  37. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.