[TYPO3-english] Strange GIFBUILDER issue

Jacob Rasmussen jacob at lightbulb.dk
Sat Jul 4 23:27:39 CEST 2009


Hi list,

I'm working on a personal site and for some reason the first GIFBUILDER 
element on page (either in the main menu or as a content header) is 
randomly only 1 pixel wide.
The element is usually created correctly after a couple of clear cache 
commands - but will eventually revert to 1 pixel width.

Site URL: http://lightbulb.dk/

I have tried using default fonts and disabling the main menu, but then 
the first content header disappears instead. So I'm wondering if anyone 
on the list have experienced the same problem, and if so what can I do 
to fix the issue.

My server is running Ubuntu 9.04, PHP 5.2.6 with Suhosin 0.9.6.2, 
GraphicsMagick 1.1.11, GDlib 2 enabled

The main menu is being generated through the GTMenu IProcFunc:

TS template for my main menu

temp.mainmenu = HMENU
temp.mainmenu {
	wrap = <div id="mainMenu"> | </div>
	1 = GMENU
	1 {
		IProcFunc = user_gtmenu->GTMenu
		wrap = <ul> | </ul>
		ext = png
		#noBlur = 1
		css2TempFile = 1
		
		NO {
			allWrap = <li> | </li>
			ATagTitle.field = nav_title//title
			stdWrap.htmlSpecialChars = 1
			stdWrap.case = upper
			
			XY = [20.w]+20,78
									
			10 = IMAGE
			10 {
				file = {$template.path}images/menu-el-bg-no.png
				offset = 0,0
				align = |*||*| right || left
			}
			
			15 = IMAGE
			15 {
				file = || {$template.path}images/menu-el-bg-left.png |*|
				offset = 0,0
			}

			20 = TEXT
			20 {
				text.field = nav_title//title
				text.case = upper
				fontSize = 12
				fontColor = #ffffff
				fontFile = {$template.path}fonts/europe-b.PFB
				niceText = 0
				offset = 11,24
				shadow {
					offset = 1,1
					color = #000000
					opacity = 68
					blur = 1
				}
			}
	
			30 = IMAGE
			30 {
				file = |*||*| {$template.path}images/menu-el-bg-act.png || 
{$template.path}images/menu-el-bg-last-act.png
				offset = 0,39
				align = right
			}
			
			35 = IMAGE
			35 {
				file = {$template.path}images/menu-el-bg-left.png
				offset = 0,39
			}

			40 < .20
			40.offset = 11,63
			40.fontColor = #c2db7d
			
		
		}
		
		ACT =< .NO
		ACT = 1
		ACT {
			allWrap = <li class="active"> | </li>
	
			XY = [20.w]+20,39

			10 = IMAGE
			10 {
				file = |*||*| {$template.path}images/menu-el-bg-act.png || 
{$template.path}images/menu-el-bg-last-act.png
				offset = 0,0
				align = right
			}
			
			15 = IMAGE
			15 {
				file = {$template.path}images/menu-el-bg-left.png
				offset = 0,0
			}

			20 = TEXT
			20 {
				text.field = nav_title//title
				text.case = upper
				fontSize = 12
				fontColor = #c2db7d
				fontFile = {$template.path}fonts/europe-b.PFB
				niceText = 0
				offset = 11,24
				shadow {
					offset = 1,1
					color = #000000
					opacity = 68
					blur = 1
				}
			}
			
		}
	}
}



Thanks in advance :)

Kind regards
  - Jacob


More information about the TYPO3-english mailing list