@
@
@inturned2014-01-27 07:38:56
Joomla
@inturned, 2014-01-27 07:38:56

How to open image via lightbox (widgetkit) on CMS Joomla?

Hello! I am tormented by the question, I can not gather my thoughts for implementation.
There is a Joomla CMS engine, there is a Widgetkit component, the component has a built-in Lightbox.
The site also has a visual editor JCE
Attention, the question is:
How to make the added photo on the site immediately open in lightbox, for example, add a photo to the article through JCE, how to make it open immediately through Lightbox.
My client is not very "friendly" with all these technologies, how can I explain to him that he needs to edit the code and enter a link there

<a data-lightbox="on" href="image_lb.jpg"><img src="image.jpg" width="180" height="120" alt="" /></a>
I don't know.
Help, friends.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Y
Yuri Lobanov, 2014-01-27
_

Well, if I understand correctly, there are two options:
1. Edit the template to which the photo is added so that the added photo immediately has the date attribute data-lightbox="on";
2. Make a manual for the client, since everything seems to be quite simple.
It is more logical, of course, to use the first option.

V
Vladislav Pugachev, 2014-01-30
@kunjara

Another option is to make a plugin that will add the necessary code to the necessary images. Maybe there are already such - look at extensions.joomla.org

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question