Graphic Motion Video Art, Website, IT Network, Culture

Joomla Image Lightbox Evolution to All Images Joomla
After successfully implementing the image lightbox evolution into the blog content, then I have though how to apply it to the joomla website. As you probably know a lot of extensions that provide convenience to you in making the image lightbox effect, but I think none more impressive than the lightbox evolution. Therefore, it is dedicated to you who use joomla to build your website as your choice, I will describe the implementation of image lightbox evolution to the joomla website automatically to all images of the joomla content.

Here I use the analogy of a blog in the applying the image lightbox evolution. This method is not going through the database but directly to the joomla templates system that has been used. For those of you who want to have the impressive image lightbox  effects, I will explain all to you as the results of my experiment in implementing image lightbox evolution into a Joomla website.

Suppose you have a lot of images in the content of your joomla website, and you want to make lightbox evolution effect to all images that lies to the content of your joomla. What I have pointed out before is inserting class=lightbox on each image tag. But right now we do it in a different way with a lightbox evolution effect that is very elegant if you apply it to your joomla website. Ok! Let's get started!

The things that you only need to do is inserting the scripts lightbox evolution into the index.php of the template that you use now. You can find the file of index.php of the template directly to the source of directory of your joomla website, or you can go through your joomla backend (administrator panel). You simply type on your browser : If your joomla still in local server of your computer, just type : localhost/websitename/administrator. Let's see the picture below!

On the main menu of your joomla backend, select Extensions>Template Manager. Then you will find the Template Manager: Styles. In the column template please select the template that you are using in active now as I marked in red on the picture below!

You will be in customize template, and then you click on the Edit main page template, as I marked in red as shown like the left picture below! and next you will find index.php template as the purpose of this step, the place where we will insert the scripts code to make lightbox evolution to all images to the joomla content. Please have a look at first the script from the index.php of template, as the right picture below!

1. Inserting jquery.min.js to the index.php template, actually all the scripts code that will inserted must be put on the head of the template index.php.

<script src=''></script>

To make it safer, so that the link jquery.min.js can be working on your joomla, put the above script link at the beginning of the head. Make sure also that there is only one link javascript library master (jquery.min.js) that you use, to avoid the possibility of the problem that could be the cause of the lightbox evolution doesn't work. For more details let's see the picture below!

3. Press Ctrl+F on your browser, and type </head>, put the following scripts before the head of the index.php ends.

<script src=''></script>
<link href='' rel='stylesheet' type='text/css'>
<!--[if lte IE 7]><link rel="stylesheet" href="" media="screen" /><![endif]-->
<script src=""></script>

4. Initialize the lightbox to your joomla template and automatically add the class=lightbox to all images of the content joomla, following the script that you need to put next:

<script type="text/javascript">
<script type="text/javascript">
    $('a[href$=jpg], a[href$=JPG], a[href$=jpeg], a[href$=JPEG], a[href$=png], a[href$=gif], a[href$=bmp]:has(img)').addClass("lightbox");

The placement of the scripts above in its implementation to the index.php template as shown like the picture below!

Once you save all the changes or additions of the scripts on the index.php your joomla template. Then if you've done it as right, it would be the all of images content of your joomla website will use lightbox wvolution effect that make your joomla website more impressive to show every image in full view. If there are less obvious, let's see the aricle video above!

Share This Article :
Related Articles


  1. I think you are the great blogger.What a great article have you written.I really enjoyed reading your post.This info is really very useful to all.
    Thanks.... Keep Posting!!

    Web Design Companies Bangalore | Web Design Bangalore

  2. Thanks for sharing the useful Article,..Am got the great message on your article..keep sharing..

    Web Design Services Bangalore | Web Development Services Bangalore

  3. Nice article thanks for sharing i taught more information related to joomala,keep sharing more tutorial in future thanks for sharing...
    Website Development Company Bangalore | Website Design Company Bangalore

  4. I want the scripts, you cant force us to depend on the availability of your web site scripts. We need the scripts to put directly.

  5. This comment has been removed by the author.

  6. Online casino games are exotic with you.
    Gclub It's an option that is open to online lotto games that are fun to play gambling games online casino new look. Online gambling games designed to meet the needs of modern people. And to entertain the gambler regularly with our online casino that is open every now and play online games to win the online games of our online betting site in the kind of mobile games, smart phones. Convenient Because our online risk website needs to meet the needs of those who want to bet different types of online games. So the online gambling games of our website are all games that focus on games that have a lot of fun and have a lot of online games that are easy to understand. Betting online gambling games that provide a fun way to enter the game. Get a chance to win every game on the smartphone. Join the fun with online games to make the service users better with the convenience of access to the game. You can place your favorite gambling online at any time and also make money with online casino games that can be real gamblers. Gclub มือถือ


Back to Top