got img iteration and percentages working. Had to add in if/then to set the precision to the edge cases (100 and 0 %). User Id check not implemented yet.