<asp:Image ID="img1" runat="server" ImageUrl='<%# GetImagePath(DataBinder.Eval(Container.DataItem, "Foto").ToString()) %>'/>