-
AuthorPosts
-
February 4, 2014 at 4:18 pm #11021
How do I insert lightbox image(s) with the Visual composer instead of creating it with shortcodes.
Just a simple click and selecting the images and/or create galleries.It’s not complicated to add a lightbox to an image but it would be easier to insert it by just clicking and creating a gallery just like the standard WordPress gallery option.
February 4, 2014 at 7:06 pm #11059Hey Fabian,
we have a great article about lightbox here: http://theme.co/x/member/kb/shortcode-walkthrough-lightbox/ – in addition to that we will be releasing videos covering all our shortcodes very soon which will help people. We will look into the Visual Composer interface and try to make it easier thank you for the feedback!
February 17, 2014 at 9:37 pm #15351Yeah kind of tedious way to do it. Definitely needs to be and easier way to insert a gallery. The visual composer comes with one standard. Was that removed from this theme for some reason?
February 18, 2014 at 12:53 am #15391Hey,
we removed all of the Visual Composer shortcodes since our shortcodes are optimized for our theme so we did not feel it makes sense to have 3rd party shortcodes inside our theme. Hope you understand.
June 8, 2014 at 5:53 am #53737Hello. In my site I have, for example, 1000 galleries! I am forced to enter the string “[lightbox selector =”. Gallery-icon> a “]” in each gallery? Tanks :))
June 8, 2014 at 9:26 pm #53899Hey Gianluca,
You can place that shortcode in the post template so it’ll take effect in all your posts. Please give us the URL of your website so we could see what template you’re using and we can give you advice.
Thanks.
June 9, 2014 at 4:32 am #54018Thanks. I’m working offline now. I have one page named “portfolio” with template “layout – portfolio”. All galleries have been created like normal procedure with wp and like your tutorial (http://theme.co/x/member/kb/shortcode-walkthrough-lightbox/) “[gallery] Shortcode Lightbox”. I dont understand where i must place that shortcode. In the page “portfolio” dont work. I think beacause the gallery is realy in other page, as you can see from the local url:
http://localhost:8888/gianlucagovoni/portfolio/
http://localhost:8888/gianlucagovoni/portfolio-item/rocksy/The first line refers to the “portfolio” page;
the second line refers to the gallery from previous page.I hope you understand my bad english and my problem.
Thanks again :))
June 9, 2014 at 5:13 am #54031Hey Gian,
Please try modifying template-layout-portfolio.php located in framework\views\(YOUR STACK). Add the code
<?php echo do_shortcode('[lightbox selector=".gallery-icon > a "]'); ?>
below
<?php x_get_view( 'global', '_portfolio' ); ?>
If that doesn’t work, we’ll need for you to upload your site online so we could see your current setup.
Thanks.
June 9, 2014 at 6:24 am #54043Hello Supp, I added the code in child template-layout-portfolio.php (I tried also in father theme)… don’t work again! :((
I will upload my site soon, and soon i will write you again.
thanksssss ;))
June 9, 2014 at 10:53 am #54115Yes please keep us updated.
Thanks!
June 15, 2014 at 9:11 am #56509Hello Supp! :))
My site is online in demo area:
http://gianlucagovoni.it/If you look at the http://gianlucagovoni.it/portfolio-commerciale/ the first gallery named “advertising” don’t work with lightbox. The others work only wiht shortcode “[lightbox selector =”.gallery-icon> a “]” in each gallery. Is very complex so. Can you help me please? I must upload a big number of galleryes.
Thanks so much
June 16, 2014 at 12:28 pm #56930Hi there,
It looks like you just might need to add the shortcode to that portfolio item. I’m seeing the javascript added to other pages, but not the first one. You’ll need to add it to every page that you’d like to use the lightbox
December 17, 2014 at 2:17 pm #166600ok. i’ve been looking for hours and watched the video but cant seem to get the lightbox to work for a gallery. i simply want to create a page using visual composer and insert a gallery that works in your lightbox. Ive tried lots of things. even copy pasted the shortcode from your Galleries kb article and replaced the ids with my own images. it continues to go to another page when opening up the image. It looks like the guy who started this thread had the same issue but then it went off onto another subject.
What am I doing wrong? It’s driving me nuts
[gallery link="file" ids="17560,17559,17558,17226,3318,3317,3121,3120,3119"]
[lightbox selector=”.gallery-icon > a”]December 18, 2014 at 3:55 am #166913Hi,
Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL as stated on the forum entrance page. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
At the mean time you can try this
[lightbox selector=".gallery-icon > a"]
The code looks the same but the quotes are different.
Hope that helps.
Thanks
December 18, 2014 at 12:06 pm #167161This reply has been marked as private. -
AuthorPosts