Fixed mysql driver troubles and images