collect image size (bug fix) #535 and document size #533
send total page size closes #533