small changes done like image redirection

1) Image redirection properly working 
2) file template view modified