Zum Inhalt springen

Hintergrund beim Bildvergrößern

Erstellt am 24. Juli 2005 · 1 Antwort · letzte Antwort am 28. Juli 2005

Tags: Bilder, Frage

felis ·

Hallo, ich hab im Forum rumgesucht und einiges gefunden wie man den Hintergrund bei vergrößerten Bildern weiß bekommt. Leider will es nicht funktionieren. Vielleicht findet ja jemand den Fehler:

seite = PAGE
seite {
      typeNum = 0
      bodyTag = <body bgcolor="#6579AD">
      stylesheet = fileadmin/green_acres/green.css
      metaAUTHOR = test
      meta.DESCRIPTION = Hier steht eine Beschreibung


10 = TEMPLATE
10.template = FILE
10.template.file = fileadmin/green_acres/vorlage_neu.htm

10.marks {

TRAILER = IMAGE
TRAILER.file = GIFBUILDER
TRAILER.file {
XY = 160, 20
backColor =#ffffff

4 = IMAGE
4.file = fileadmin/green_acres/images/hg_button.jpg

10 = TEXT
10.text.field = subtitle // title
10.fontSize = 20
10.fontFile = fileadmin/green_acres/PRESDNTN.TTF
10.fontColor = #336432
10.niceText = 1
10.offset = 0, 15
}
#---------------------------------------------

MENU_LINKS = HMENU
MENU_LINKS.special = directory
MENU_LINKS.special.value = 65
MENU_LINKS.entryLevel = 1
MENU_LINKS.1 = GMENU
MENU_LINKS.1.NO = 1
MENU_LINKS.1.NO {
wrap = |<br />
XY = [10.w] +10, 18
backColor = #ffffff

10 = TEXT
10.text.field = title
10.fontColor = #000000
10.fontFile = fileadmin/green_acres/fonts/PRESDNTN.TTF
10.fontSize = 14
10.niceText = 1
10.offset = 0, 10
transparentBackground = 1
}
MENU_LINKS.1.RO < .MENU_LINKS.1.NO
MENU_LINKS.1.RO {
tmp < .backColor
backColor = #ffffff
5 < .10
5.fontColor < .tmp
}
MENU_LINKS.1.CUR < .MENU_LINKS.1.RO
MENU_LINKS.2 < .MENU_LINKS.1
MENU_LINKS.2 {
NO.backColor = #ffffff
NO.10.fontColor = #339933
NO.20.file.backColor = #ffffff
RO < .NO
RO.backColor = #ffffff
R=.5 >
CUR < .RO
}

CONTENT = CONTENT
CONTENT {
table = tt_content
select.orderBy = sorting
select.where = colPos = 0
select.languageField =sys_language_uid
}
tt_content.textpic.20.1.imageLinkWrap.bodyTag = <body style="margin:0; background:#FFFFFF;">
tt_content.textpic.20.1.imageLinkWrap.JSwindow.expand = 0,0 
tt_content.image.20.1.imageLinkWrap.bodyTag = <body style="margin:0; background:#FFFFFF;">
tt_content.image.20.1.imageLinkWrap.JSwindow.expand = 0,0

Trotzdem bekomm ich einen dicken schwarzen Rahmen um meine Bilder. (die Bilder haben ansich einen dünnen Rahmen in schwarz aber den sieht man nicht, weil der Hg auch schwarz ist)

Hier die Seite:
https://admin-typo3.st-forge.org/index.php?id=66

e.​egger ·

Hallo,
versuchs mal so:

CONTENT = CONTENT
CONTENT {
   table = tt_content
   select.orderBy = sorting
   select.where = colPos = 0
   select.languageField =sys_language_uid
   renderObj < tt_content
   renderObj {
      textpic.20.1.imageLinkWrap.bodyTag = <body style="margin:0; background:#FFFFFF;">
      textpic.20.1.imageLinkWrap.JSwindow.expand = 0,0 
      image.20.1.imageLinkWrap.bodyTag = <body style="margin:0; background:#FFFFFF;">
      image.20.1.imageLinkWrap.JSwindow.expand = 0,0
   }
}

oder noch einfacher, Du lässt alles wie es ist und änderst nur das:

CONTENT = CONTENT
CONTENT {
   table = tt_content
   select.orderBy = sorting
   select.where = colPos = 0
   select.languageField =sys_language_uid
}

in das:

CONTENT < styles.content.get

vorausgesetzt zu hast im TS-Template unter »Include static:« entweder »content (default)« oder »styles.content (default)« eingebunden.

ich hoffe das hilft Dir weiter...
Elmar