bugfix for photo links