Guest vuzuggu Posted October 1, 2015 Share Posted October 1, 2015 Is it possible to have a plugin for the knowledgebase that when you insert an image into an article, clicking the image will pop-over a larger image using AJAX or similar? 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted October 1, 2015 Share Posted October 1, 2015 Use Lightbox plugin or similar solution 0 Quote Link to comment Share on other sites More sharing options...
Guest vuzuggu Posted October 1, 2015 Share Posted October 1, 2015 Is there a free one? Couldn't find any in the community add-ons. No half pixels have one for £2.40 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted October 1, 2015 Share Posted October 1, 2015 it's cheap, but if you need to implement it your self here is how http://lokeshdhakar.com/projects/lightbox2/ 0 Quote Link to comment Share on other sites More sharing options...
sol2010 Posted February 26, 2021 Share Posted February 26, 2021 I know this is old - but is there anything more recent ? I want to be able to have the images in knowledgebase open in lightbox. In other words, when you upload image in knowledgebase, how can you make it clickable so that user can enlarge it? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted February 27, 2021 Share Posted February 27, 2021 16 hours ago, sol2010 said: I know this is old - but is there anything more recent ? I want to be able to have the images in knowledgebase open in lightbox. if you want a lightbox effect, there will be plenty of free script options out there - mostly JS, but the occasional CSS only solution. 16 hours ago, sol2010 said: In other words, when you upload image in knowledgebase, how can you make it clickable so that user can enlarge it? you could set the image dimensions in WHMCS (to a smaller proportion), but then link the image to itself... or have a thumbnail / real image scenario doing the same thing - not a lightbox effect, but it would open the image full screen. 0 Quote Link to comment Share on other sites More sharing options...
yggdrasil Posted February 28, 2021 Share Posted February 28, 2021 I know this is very easy to add by hand, but I suspect the user is trying the editor to do this automatically for each inserted image instead of having to manually edit the code and add the proper modal options to each image. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted March 1, 2021 Share Posted March 1, 2021 15 hours ago, yggdrasil said: I know this is very easy to add by hand, but I suspect the user is trying the editor to do this automatically for each inserted image instead of having to manually edit the code and add the proper modal options to each image. what a user wants and what can be achieved natively within the software are not necessarily the same thing. thumbnail linking to larger image can be done with no code changes and from the editor... whereas, lightbox effects would require some (not a lot) of additional coding and possible manual tweaking to the image links. there's a lightbox effect built in to the admin area ticket attachment, but i'm not aware of any similar option built in on the client side for kb - hence why I think third party options (which should all be free) would be required. 0 Quote Link to comment Share on other sites More sharing options...
yggdrasil Posted March 1, 2021 Share Posted March 1, 2021 1 hour ago, brian! said: what a user wants and what can be achieved natively within the software are not necessarily the same thing. thumbnail linking to larger image can be done with no code changes and from the editor... whereas, lightbox effects would require some (not a lot) of additional coding and possible manual tweaking to the image links. there's a lightbox effect built in to the admin area ticket attachment, but i'm not aware of any similar option built in on the client side for kb - hence why I think third party options (which should all be free) would be required. Agree. Some might want to default to a light box for every inserted image, others not. A big reason as you pointed why things like TinyMCE should be free to modify to fit everyone's workflow which is going to be different for every WHMCS user. It would require some code and config modifications, but it would be a one time thing. Last time I tried to modify a default config setting or add a plugin to TinyMCE it was not possible because the init file was encoded. 0 Quote Link to comment Share on other sites More sharing options...
sol2010 Posted March 1, 2021 Share Posted March 1, 2021 @WHMCS John I find it annoying to have to add the knowledgebase image and then save the page, then go back in and add a link to the same image (which I have to go and find the URL of the image for). It should be as simple as ; 1) Upload the image 2) Select whether it should be clickable or not Done It's annoying to have to go and source a 3rd party script to do what should be a very simple action. Insert / Edit image used to have a lot of features (Tnymce) but now it's more restricted to just the upload and proportions etc - no "link to self" feature. If that could be restored, I'm sure it would work well. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.