added functionality for picture links