-
AuthorPosts
-
July 16, 2014 at 4:57 pm #69617
Is it possible to have a lightbox pop out for each image in my revolution slider?
new.winspec.com/wordpress/projects/Thanks,
KatieJuly 16, 2014 at 8:38 pm #69778Hey Katie,
Please enable link to your slide and add the URL of your image (see http://prntscr.com/43g2jm). Then, add the shortcode
[lightbox selector=".slidelink a"]
to your page.
Hope that helps. 🙂
August 25, 2015 at 6:44 pm #369368Hello Themeco,
after the revolution slider update from version 4 to 5.0.4.1, the shortcode
[lightbox selector=”.slidelink a”]
doesn’t seem to work any longer: The pictures don’t open in a lightbox anymore, but just in a new browser window.
See here:
http://www.mediadesign-mw.de/portfolio-item/kulturbuero-hattingen/Can you help? Thanks in advance!
August 26, 2015 at 12:04 am #369569Hi There,
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / passwordDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thanks!
August 26, 2015 at 6:22 am #369864This reply has been marked as private.August 26, 2015 at 10:24 am #370126Hi Mike,
Upon checking, I’m getting a JS error in your website that’s causing this issue (see: http://prntscr.com/894izn). Are you using any custom JS script in your website or revolution slider? If so, you can try deleting it and seeing if the issue resolved. If it’s not, you could try testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.
Thanks!
August 26, 2015 at 12:08 pm #370235First of all, thanks for your efforts!
I don’t use any custom JS script. I tried disabling 3rd party plugins, but the error remained.
But I found out that the JS error must somehow be related to this line (which is coming from the output RevSlider inserts into the html page):
<script>document.write("<style type=\"text/css\"> #rev_slider_3_1_wrapper .tp-loader.spinner3 div { background-color: #FFFFFF !important; }</style>);</script> <script>document.write("<style type=\"text/css\">.hesperiden.tparrows{cursor:pointer;background:#000;background:rgba(0,0,0,0.5);width:40px;height:40px;position:absolute;display:block;z-index:100; border-radius:50%}.hesperiden.tparrows:hover{background:#000}.hesperiden.tparrows:before{font-family:\"revicons\";font-size:20px;color:#fff;display:block;line-height:40px;text-align:center}.hesperiden.tparrows.tp-leftarrow:before{content:\"\\e82c\"; margin-left:-3px}.hesperiden.tparrows.tp-rightarrow:before{content:\"\\e82d\"; margin-right:-3px}</style>");</script>
The error I get from this line is:
SyntaxError: unterminated string literalCan you spot where that syntax error is?
I suppose that means RevSlider 5.0.41 has bugs… Is there any way for me to downgrade to version 4 of RevSlider?
August 26, 2015 at 6:25 pm #370520Hello There,
Generally, we don’t recommend downgrading. It could cause problems, and with a bigger update like Revolution Slider 5.0 you could risk breaking existing sliders. For example, if they make any changes to how their data is stored, it could be incompatible.
I did check the error and found it in wp-content\plugins\revslider\output.class.php LINE 3597
this part:</style>)
should be this</style>")
. There’s a missing double quote there. Will forward this to our developer. Will let you know once we have an update. Thank you for understanding.August 27, 2015 at 4:30 am #371113Thank you for your help.
I added the missing quote to line 3597 of output.class.php and the error message disappeared. So far, so good… but:
Still no lightbox.
I’m kind of stumped now. I know it’s not your job doing support for RevSlider and I don’t want to steal your time.
I’m going to risk downgrading to RevSlider 4 because my sliders ARE already broken anyway.
If I can find an alternative plugin, I’m going to avoid RevSlider in the future. It looks like not being worth the effort of learning how to use it.
How can it be that RevSlider 5 goes through 4.1 published revisions (current version is 5.0.4.1), and they still miss a simple syntax error in their source code? And their claimed massive user base not having noticed it by now? Something’s wrong with this picture.I am not ok with you saying in another thread:
Revolution Slider 5 is a major update so it does have some “breaking changes”. Please try to reedit your sliders and save again.
What is the point of creating sliders with RevSlider in the first place, if after each of its major updates we have to face “breaking changes”, meaning investing hours in hunting down errors and re-editing sliders on our websites that were already working before the update? Writing messages like this on forums?
I don’t have time for that, and you are not doing yourself a favor by endorsing such a time sink (for us, AND for you) of a plugin.
Sorry, I really do like X and its elegance of doing things, but RevSlider looks alien to that spirit. Wrong puzzle piece.
August 27, 2015 at 4:30 pm #371607Hi Mike,
I understand where you’re coming from. And I’m surprised by syntax issues too, it should be noticeable during tests. But back to the topic, looks like revslider is initializing layers different from before and lightbox can’t pick them no more.
Lightbox is not working and not meant for revslider, and just happens that there are temporary fix that makes it possible. But now, it’s completely not usable even with those temporary fixes. I’ll see what I can investigate, but I can’t promise a fix. You may use another slider plugin that could let you use lightbox.
Thanks!
August 28, 2015 at 1:17 pm #372388Thanks for your efforts!
I hope you can understand my frustration: Took me two evenings to link 67 (small) slider pics to their 67 bigger counterparts supposed to be looked at in a lightbox. It worked great – for 10 days or so. Then came the update to RevSlider 5 and all that work was in vain. But hey, instead of a working slider in my portfolio I got a plugin update that made me feel like an intimidated Cessna pilot being confronted with the control panel of the Space Shuttle.
But enough of that- What did Alanis M. sing about a couple of years ago? “You live, you learn.”. I suppose so.
Have a great day, and thanks. (And please don’t make the X interface ever look as confusing as what the RevSlider people did with their version 5!).
August 28, 2015 at 11:09 pm #372701Sure, noted that 🙂 And thanks for understanding. Have a great day.
-
AuthorPosts