Photo widget is not working