Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Shortcode kills captions, groups question, & CSS
(1 viewing) (1) Guest
"ARI Fancy Lightbox" WordPress plugin
Go to bottomPage: 1
TOPIC: Shortcode kills captions, groups question, & CSS
#63030
Shortcode kills captions, groups question, & CSS 6 Years ago Karma: 0
First, let me congratulate you on an efficient and light-weight plugin, although its “package” has problems. Please see my “Not that fancy…” review under my WP username maiklmoor. Despite the problems and the fact that you never answered my presales questions, I gave you a five-star rating because this is the lightbox I’ve been looking for and it works out of the box – for galleries at least.
I’m working on five similar historical websites with many pictures to illustrate this history. Clicking on an image will call up that image and the tagged group on your lightbox. So here are my questions:
  1. Can’t get the Custom grouping selectors (A.mikes-album) to work with Convert links to images (<a href="xyyz://domain.com/photo.pong"><img src="thumb.goof"/></a>). What could be the problem?

  2. I prefer to use the shortcode method anyway. Here the group parameter work just fine, but the shortcode tag ([fancybox url=" xyyz://whopsite.bomb" caption="Watch for blast" group="boom"]have-a-blast.pix[/fancybox]) kills the caption under my image (only showing Watch for blast on the lightbox, not on my page. It seems [caption]<pix parameters>Watch this</pix>[/caption] doesn’t work in any combination with [fancybox]…[/fancybox]. So I’m forced to write the captions under the images on my pages separately (using the wp-caption paragraph tags. That works, but is bad for SEO, since there is no association between the image and the caption (as would be the case whenever the caption is part of the image itself). Any remedies?

  3. How can I select image groups for images belonging to more than one group? For instance, I have the group towns and the group ships. Most pix are one or the other, but some pix are of a port showing ships at the docks (so both towns and ships apply). In other words, can an image belong to more than one group, and if so, how can I define that and determine which group to show in the lightbox?

  4. I’m not very good at CSS, but very accomplished in the art of copy-and-paste. Can you give me some style examples and what to apply it to (.fancybox-container, .fancybox-whatever) {looks:nice}) for the following:

  • How to use an image (bookpage.pix) as a lightbox background

  • How to change font (to Times e.g.), size of caption

  • How to remove or change horizontal line (above caption)

Sorry for the long post, but four smaller ones wouldn’t make it any easier for you. Thanks in advance.
Last Edit: 2018/04/29 09:28 By MikeWPressly.
The administrator has disabled public write access.
 
#63031
Re:Shortcode kills captions, groups question, & CSS 6 Years ago Karma: 748
Hello,

At first thank you for your review. We will take into account all your suggestions and try to do it more user-friendly in future.

About pre-sale questions, sorry, but we haven't received an email from you. If it is actual, you can re-send the email to info@ari-soft.com address or ask the questions here.

About the questions:

1. Is it possible to see the problem anywhere? Do you want to open all links to images with "mikes-album" CSS class into the lightbox?

2. We will investigate possible solutions and report about results soon.

3. The plugin doesn't support this ability. Each item should belong only to one group.

4. Open "Style" tab on "ARI Fancy Lightbox -> Settings" page and populate "Custom CSS" parameter with the following CSS rules:

Code:


/* Change font, size of caption and remove top border */
.fancybox-caption-wrap .fancybox-caption {
  font-family: Times;
  font-size: 20px;
  border-top-style: none;
}



Use the following CSS rule to change background, just specify correct URL to background image:

Code:


body .ari-fancy-title {background: url(images/my-image.png) repeat; }



Regards,
ARI Soft
The administrator has disabled public write access.
 
#63032
Re:Shortcode kills captions, groups question, & CSS 6 Years ago Karma: 0
Hi,

Thank you for your lightening-fast reply. I sent my pre-sales question via your website. It's no longer relevant, since I bought your pro version already. Please check your website mail-form function.

1. I'm developing on localhost and have opted for the shortcode method anyway. No worries.

2. Thank you for looking into the "caption-kill" problem - looking forward to your solution.

3. If the plugin doesn't support multiple groups for one image, then I'll have to work around this. Maybe I can add a small gallery of related images (as thumbnails from other articles) below the relevant article. This way I can have an image in a number of groups (once as a "main" image, and here and there as a smaller version that appears in a different group, but also as a full-sized image in the lightbox.

4. Thank you very much for the code snippets. That's very helpful indeed - and saves me a lot of time. I'd like to add this code to my child theme style.css. Or do I have to use the "Custom CCS" box on the lightbox Settings tab because of java-script sequencing or something?

So thanks again for your quick response and the time-saving code. This confirms that you deserve five stars.
The administrator has disabled public write access.
 
#63038
Re:Shortcode kills captions, groups question, & CSS 6 Years ago Karma: 748
1. Anyway if you need any assistance with custom grouping, let us know and we will investigate the problem.

3. Currently it is only possible solution to have duplicate images.

4. You can add custom CSS rules to "Custom CSS" parameter in plugin settings or if to child theme CSS file if it is more preferable way for you.

PS: Thank you for your rating. We are on working on solution for "caption-kill" problem.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#63043
Re:Shortcode kills captions, groups question, & CSS 6 Years ago Karma: 748
About issue #2, update the plugin to v. 1.7.4 on your site please. New version supports ability to define lightbox group in [caption] shortcode via "class" attribute. For example if you want to assign an image to "car" group then use the following shortcode (it is not required to wrap this with [fancybox] shortcode):

Code:


[caption class="group-car"]... some content goes here ...[/caption]



Regards,
ARI Soft
The administrator has disabled public write access.
 
#63046
Re:Shortcode kills captions, groups question, & CSS 6 Years ago Karma: 0
Thank you for the good and fast work. You can mark this thread as solved - at least for me.
The administrator has disabled public write access.
 
Go to topPage: 1