+{\r
+ char imagetype = lookup(parameters, "type")[0];
+\r
+ if (imagetype == 'a') /* auto */\r
+ {\r
+ /* Default to logo */\r
+ imagetype = 'l';\r
+#ifdef FEATURE_IMAGE_BLOCKING\r
+ if ((csp->action->flags & ACTION_IMAGE_BLOCKER) != 0)\r
+ {\r
+ /* determine HOW images should be blocked */\r
+ const char * p = csp->action->string[ACTION_STRING_IMAGE_BLOCKER];\r
+\r
+ /* and handle accordingly: */\r
+ if ((p != NULL) && (0 == strcmpic(p, "blank")))\r
+ {\r
+ imagetype = 't';\r
+ }\r
+ }\r
+#endif /* def FEATURE_IMAGE_BLOCKING */\r
+ }\r
+ \r
+ if ((imagetype != 't') && (imagetype != 'b')) /* transparant/blank */