(tng32) Quoted Images as Links 1.2.0

Free


2 Screenshots

About This File

UPDATE: The IPB 3.3 version of this hook is now available (pending moderation), click here.

This is the IPB 3.2 version of this hook, for the 3.1 version, click here.

Displays quoted images as Lightbox enabled links to the original image. This saves space in your threads and means a post full of pictures is not repeated when someone quotes it.
Users can also click on the generated link and if they have javascript, a lightbox will open showing the original image.

This hook works by searching for quotes in a post, it will then strip away any BBCode images in those quotes (based on bbc_img class), replacing them with lightbox enabled urls to the original image, shortened and styled like standard BBCode urls.

This hook has been tested on an English board but has been written to hopefully work with any language and will use the alt text of the image, as the title(shown on hover) of the link. (e.g. Posted Image)


NOTE:
This hook was written for IPB 3.2
This hook is only for forum topics and IP.Content Comments
This hook only alters the DISPLAY of images quoted in posts, post data is not changed, the database remains untouched and as a result if a post is edited or quoted, the url to the quoted image will still be in %7Boption%7D tags




What's New in Version 1.2.0   See changelog

Released

Added support for IP.Content Comments Added support for Ajax quick reply Improved efficiency



User Feedback


Posted

Very simple mod that does what it says it does. My forum is all about posting pictures and this helps out tremendously!

  • Loading...

Share this comment


Link to comment

Posted

Please add option to reset the message so the cookie doesn't block new messages.

  • Loading...

Share this comment


Link to comment