add generate pics script
test ajax base64 loading