Users running a non-download version of Vanilla (pulled from github), on branch release/2019.016 or master from the last 2 weeks should upgrade to release/2019.017 or latest master for security reasons. Downloaded official open sources releases are not affected.

How to open images in the same window, and links to a separate tab.

testing3testing3 New
edited October 31 in Vanilla 3.x Help

Hello friends,

I'm here again with some more questions about modifying the default behavior of the forum.

  1. How to open the images in the same window instead in a separate window? Like a nice popup style window. And if multiple images are uploaded at once, then is there any way to group them and display in a grid style and enlarge them when clicked? (Please see the attached grid example)
  2. How to make the links to open in a separate tab instead leaving the forum to follow the link.
  3. Is there any way to make some links dofollow if needed?

I've searched the forum and found some posts and modules regarding the above requirements but nothing worked for me.

Hope you'll help me as usual.

My Vanilla version is 3.3.

Please let me know if I have to provide any other info.

Kind Regards


Comments

  • Update:-

    I've managed to open the links in a separate window by using this plugin, it didn't work when I first installed it, but I tried again and added the plugin's js codes in the theme's custom.js file and now it's working.

    So now I just need suggestions for the other 2 requirements.

    Hope someone could help here.

    Kind Regards.

Sign In or Register to comment.