Forum:Link to image overlay on article from thumbnail

Ok so, on my wiki, the Halo Stunting Wiki, I've been adding a new feature for tutorial sections on stunt articles. The feature involves linking to images that illustrate steps in the tutorial via thumbnails at the end of each step. Example article: Uber-Shade. The problem is, I want the thumbnail links to open the common "image overlay" window for the image I link to that normally opens when you click an image on an article. This is so a user can click the thumbnail without being directed to the File:watchafile.png page. Is this possible? If it is, how would I go about doing it? Thanks, Matortheeternal 00:42, July 14, 2011 (UTC)


 * This will make it so you go to the image and not the File: page.
 * Here is an example at this current wiki:
 * Gears-by-ralphbijker.png
 * -- Fandyllic (talk &middot; contr) 13 Jul 2011 9:24 PM Pacific
 * That's not what I wanted. I don't want to go to the file page or the image page, I want to it to stay on the page you click the link from and open the overlay window for the image. E.g. http://puu.sh/3A47 Matortheeternal 21:25, July 22, 2011 (UTC)
 * Based on the picture and what you have said, if you mean that image pop-up, it should happen automatically. Unless I do not understand what you mean.  DaRanger  |  Talk to Me  |   What I've Done  21:36, July 22, 2011 (UTC)
 * Yes the pop-up is automatic for an image like what I linked, but what if I want the pop-up to be of an image other than what the user is clicking on. E.g., I click on the image w:c:halostunting:File:step.png and it brings up the pop-up window for w:c:halostunting:File:Uber-shade_s2.jpg... Matortheeternal 21:40, July 22, 2011 (UTC)
 * Ok, I understand what you mean now. However, I honestly do not know how to do this.  I am not to good at some code.  I have a few ideas I am going to test, but hopefully someone who is better at this will come in and help you. :)  DaRanger   |  Talk to Me  |   What I've Done  21:56, July 22, 2011 (UTC)
 * If I could just understand how the pop-up window works/is coded then I might be able to make an add-on template kinda thing for my wiki that would allow me to implement the same code, only anchored to my thumbnail. But viewing the source of an image that opens up such a pop-up window shows me:
 * Which, based upon my amateur experience with HTML, doesn't look like it would be what opens up the popup window which I'm trying to emulate. So I'm lost.  >_>  Thanks anyways DaRanger, and yes, hopefully someone who has experience with this sort of stuff will come around and help out. :)  Matortheeternal 22:06, July 22, 2011 (UTC)
 * The lightbox JS is fired from a click listener on WikiaArticle which has an innumerable number of virtually useless jQuery API functions tacked on to it. On top of that, Wikia minifies jQuery, making it nearly impossible to actually track the function call that brings up the lightbox. You could try to emulate one, but the lightboxes use a lot of data from the actual picture itself. It's no easy task. You're better off just linking to the file page - most people hate the lightboxes anyway.
 * Thanks for the response Monchoman, it certainly clears things up. It seems like it's a bit unrealistic to attempt to bring up the lightbox.  I was kind of hoping that maybe it'd just be a short little string of code I could copypasta somewhere or that wikia would actually have a built-in parameter I could tack on similar to |link="".  But, seeing as neither of those are the case, I'll take your advice and just link to the file page.  Matortheeternal 22:26, July 22, 2011 (UTC)
 * Which, based upon my amateur experience with HTML, doesn't look like it would be what opens up the popup window which I'm trying to emulate. So I'm lost.  >_>  Thanks anyways DaRanger, and yes, hopefully someone who has experience with this sort of stuff will come around and help out. :)  Matortheeternal 22:06, July 22, 2011 (UTC)
 * The lightbox JS is fired from a click listener on WikiaArticle which has an innumerable number of virtually useless jQuery API functions tacked on to it. On top of that, Wikia minifies jQuery, making it nearly impossible to actually track the function call that brings up the lightbox. You could try to emulate one, but the lightboxes use a lot of data from the actual picture itself. It's no easy task. You're better off just linking to the file page - most people hate the lightboxes anyway.
 * Thanks for the response Monchoman, it certainly clears things up. It seems like it's a bit unrealistic to attempt to bring up the lightbox.  I was kind of hoping that maybe it'd just be a short little string of code I could copypasta somewhere or that wikia would actually have a built-in parameter I could tack on similar to |link="".  But, seeing as neither of those are the case, I'll take your advice and just link to the file page.  Matortheeternal 22:26, July 22, 2011 (UTC)