This is the IPB 3.1 version of this hook, for the 3.2 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.
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)
This hook was written for IPB 3.1.
This hook is only for forum topics
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 [img] tags
Welcome to DevFuse Forums
- Start new topics and reply to others
- Subscribe to topics and forums to get email updates
- Get your own profile page and make new friends
- Send personal messages to other members.
Guest Message by DevFuse
(View All Products)Featured Products
Help fund your forum with donations, setup goals and track member donations. Offer rewards for members donating.
Have your members submit their race times and share with others.
Allows your members to submit their own videos for community viewing. Support is included for all the major video sites.
Build your own forms for your members without coding experience. Support included for pm, email and topics.
Build a community database of items for your members. Full features custom fields included.
[IPS] (tng31) Quoted Images as Links
No replies to this topic