PDA

View Full Version : Attachment image Lightbox


ZYP
10-06-2016, 08:06 AM
Hello,

Is in vBulletin 5.2.4 any way how can i show Attachment image in lightbox? When i clik on attach image this image always open new tab in my browser.

Thanks

noypiscripter
10-06-2016, 12:15 PM
That requires custom coding.

ZYP
10-06-2016, 12:35 PM
Yes i know. I can create own lightbox using jQuery. Bud i don't know how it implement into vBulletin.

Some advice?

Thnaks

noypiscripter
10-06-2016, 04:19 PM
You don't have to create your own lightbox. You could hook into the same lightbox used for the images uploaded via Camera icon.

--------------- Added 1475778122 at 1475778122 ---------------

I had an old mod that does this for older vB5 versions (5.0.x) but I haven't updated it yet for 5.2.x versions.

ZYP
10-06-2016, 05:51 PM
Thank you for your answer.

Do you know where in style manager and how i can do this?

noypiscripter
10-06-2016, 06:00 PM
You have to create a template hook. Here's a tutorial on how to do that.

http://www.vbulletin.com/forum/blogs/joe-d/3932614-

--------------- Added 1475784342 at 1475784342 ---------------

If you are not a developer, it may be hard for you to grasp the principle. You may need to hire someone to do this for you.