How to use conditions to dynamically manipulate images | Hacker News Reader