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


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 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.


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?
"ARI Fancy Lightbox" WordPress plugin
Go to bottomPage: 1
TOPIC: Captions
*
#67504
Captions 3 Years, 9 Months ago Karma: 0
Hello. I'm having to use the setting "Convert file name to title" and "Smart title" to generate a caption. This isn't always ideal, for example, the title of the file might contain an error that needs correcting, or an abbreviation such as ROH becomes Roh. Is there a way to get the media file caption to appear in the lightbox?

I use single images or Jetpack tiled galleries.

Thanks for a wonderful plugin!
Last Edit: 2021/03/07 17:06 By grammy.
The administrator has disabled public write access.
 
#67507
Re:Captions 3 Years, 9 Months ago Karma: 760
Hello,

The plugin uses file names to generate titles if titles are not specified as attribute for <A> or <IMG> element. Could you provide a link to a page where caption is defined for an image, but file name is used instead of it?

Regards,
ARI Soft
The administrator has disabled public write access.
 
#67509
Re:Captions 3 Years, 9 Months ago Karma: 0
Hello.

On this post: https://www.gramilano.com/2021/03/hong-kong-ballets-online-dance-festival-turnitout/

All the photos in galleries or single have the Caption, Description and even Alt Text with the same caption text. The 'Smush' plugin has added 'scaled' to the file name, for example, and so that appears in the caption.

If I don't tick "Convert file name to title" and "Smart title" there is no caption in the lightbox. At this time, both are checked to credit the photographer etc.

Thank you.
Last Edit: 2021/03/09 09:32 By grammy.Reason: Add detail
The administrator has disabled public write access.
 
#67512
Re:Captions 3 Years, 9 Months ago Karma: 760
Open "ARI Fancy Lightbox -> Settings -> Advanced" page and populate "Custom JS code" with the following code:

Code:


setTimeout(function() { $('.ari-fancybox>IMG').each(function() { var $img = $(this), $a = $img.parent(), alt = $img.attr('alt'); if (alt) $a.data('caption', alt); });});



Regards,
ARI Soft
The administrator has disabled public write access.
 
#67513
Re:Captions 3 Years, 9 Months ago Karma: 0
Thank you. It works perfectly!
The administrator has disabled public write access.
 
Go to topPage: 1