add check for gd extension on installation
add check on write permissions of pictures dir