BitBucket images handling improved