ctx for socket
redirect image block