eID mode does not have any FE classes. Thus using of such functions not possible.
What Dmitry Dulepov write day ago in mail list:
	Цитата:
	
	
		| 
			
				"eID should not extend tslib_pibase. tslib_pibase requires full TYPO3 Frontend. With eID you are on your own: you can have database connection and some constants (like PATH_site). The rest is only yours. TYPO3 is not really there."
			
		 | 
	
	
 One solution is to create page with you plugin which will be output IMAGE content by given parameter and page type=XXX. Then you can get it from eID script.