update width of photo of task show page