Das wäre noch das TypoScript Setup.
Da hab ich treatIdAsReference = 1 eingefügt.



plugin.tx_photogals_pi1 = USER
plugin.tx_photogals_pi1 {
  image = IMAGE
    image {
      file.maxW = 500
file.treatIdAsReference = 1
    wrap = <div class="tx-photogals-pi1-big">|</div>

    imageLinkWrap = 1
    imageLinkWrap {
        enable = 1
      }
    }

  thumb = IMAGE
    thumb {
      file.width = 50
file.treatIdAsReference = 1
    file.height = 50
    #wrap = <div class="tx-photogals-pi1-small">|</div>
    }
  _CSS_DEFAULT_STYLE (
.tx-photogals-pi1 {
  margin:0px;
  padding:0px;
}
.tx-photogals-pi1-big a {
  border:1px solid #CCCCCC;
  padding:5px;
  background-color:#FFFFFF;
  text-align:center;
  display:block;
}
.tx-photogals-pi1-big a:hover {
  border:1px solid #999999;
}
.tx-photogals-pi1-small a {
  border:1px solid #CCCCCC;
  background-color:#FFFFFF;
  padding:4px;
  margin-right:6px;
  margin-bottom:3px;
  margin-top:3px;
  float:left;
}
.tx-photogals-pi1-small a:hover {
  border:1px solid #000000;
}
.tx-photogals-pi1-small-active a {
  border:1px solid #000000;
  background-color:#FFFFFF;
  padding:4px;
  margin-right:6px;
  margin-bottom:3px;
  margin-top:3px;
  float:left;
}
.tx-photogals-pi1-small-active a:hover {
  border:1px solid #000000;
}
  )
}




Im Frontend erscheint einfach

<div class="tx-photogals-pi1"> <img style="display:none" src="" id="start_image" /> </div>



Danke für eure Hilfe

gruss
Philipp



_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an