I’m using a Vanilla Forum, so if I’m out of place by asking this here than please disregard this message. How can I alter this bit of code that adds a rel attribute to image links to fit my forum? I would also need it to be by post ID.

Thank you much in advance.