Title: [Plugin: Easy FancyBox] using new titleFromAlt function
Last modified: August 19, 2016

---

# [Plugin: Easy FancyBox] using new titleFromAlt function

 *  Resolved [maxrogers](https://wordpress.org/support/users/maxrogers/)
 * (@maxrogers)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-easy-fancybox-using-new-titlefromalt-function/)
 * RavanH,
 * I am trying to get the new titleFromAlt function working that was implemented
   in FancyBox v1.3.2. See JFK’s post below:
 * [http://groups.google.com/group/fancybox/browse_thread/thread/d3d65d16ba8298bd/2e01346338f97106?lnk=gst&q=title#2e01346338f97106](http://groups.google.com/group/fancybox/browse_thread/thread/d3d65d16ba8298bd/2e01346338f97106?lnk=gst&q=title#2e01346338f97106)
 * I changed titleFromAlt in /easy-fancybox/fancybox/jquery.fancybox-1.3.3.js to
   true:
    `titleFromAlt : true,`
 * I changed /easy-fancybox/fancybox/jquery.fancybox-1.3.3.pack.js to true:
    `titleFromAlt:
   true`
 * I also changed /easy-fancybox/easy-fancybox.php
 *     ```
       if( "over" == get_option("fancybox_titlePosition", $easy_fancybox_array['titlePosition']['default']) )
       		echo"
       		'onComplete'	: function() {
       			$('#fancybox-wrap').hover(function() {
       				$('#fancybox-title').show();
       			}, function() {
       				$('#fancybox-title').hide();
       			});
       		},";
       	echo"
       		'autoDimensions': false,
       		'titleFromAlt'	: true
       	});
       	";
       ```
   
 * Any idea why title from alt isn’t working?! Thanks a ton!
 * [http://wordpress.org/extend/plugins/easy-fancybox/](http://wordpress.org/extend/plugins/easy-fancybox/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * (@ravanh)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-easy-fancybox-using-new-titlefromalt-function/#post-1780270)
 * Hi,
 * I think there is a slight problem with titleFromAlt in 1.3.3. Currently I am 
   working on a new version of Easy FancyBox which among some major new features
   includes the latest FancyBox 1.3.4 _and_ in which I have activated titleFromAlt
   by default… So far it seems to work so if you have some patience, and upgrade
   the plugin as soon as it is available, you should be fine.
 * But to prevent any misunderstandings: the titleFromAlt parameter is supposed 
   to make FancyBox use the alt-tag from the thumbnail < img > , not any alt-tag
   that you have set for the < a > link. Hope that’s clear 😉
 * RavanH
 *  Thread Starter [maxrogers](https://wordpress.org/support/users/maxrogers/)
 * (@maxrogers)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-easy-fancybox-using-new-titlefromalt-function/#post-1780284)
 * RavanH,
 * Thanks for the quick response! That is really great news!
 * Thanks for the clarification also. Luckily for me that is exactly what I want
   to do! (use the alt tag of the thumbnail <img>!)
 * I sent you a message on Facebook!
 *  [Jixop](https://wordpress.org/support/users/jixop/)
 * (@jixop)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-easy-fancybox-using-new-titlefromalt-function/#post-1780487)
 * Related to this:
    Is there a way to get a title when you are not using a thumbnail?
   As said alt-tag set for the < a > link does not work.
 *  [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * (@ravanh)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-easy-fancybox-using-new-titlefromalt-function/#post-1780489)
 * Hi Jixop, uncheck the ‘Get title from alt tag’ option (because you want title
   from title tag) and give your link a title tag. Like `<a href="your.jpg" title
   ="my jpg">link text</a>`

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘[Plugin: Easy FancyBox] using new titleFromAlt function’ is closed to
new replies.

 * ![](https://ps.w.org/easy-fancybox/assets/icon-256x256.png?rev=3188201)
 * [Firelight Lightbox](https://wordpress.org/plugins/easy-fancybox/)
 * [Support Threads](https://wordpress.org/support/plugin/easy-fancybox/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-fancybox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-fancybox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-fancybox/reviews/)

## Tags

 * [alt](https://wordpress.org/support/topic-tag/alt/)
 * [image](https://wordpress.org/support/topic-tag/image/)

 * 4 replies
 * 3 participants
 * Last reply from: [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * Last activity: [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-easy-fancybox-using-new-titlefromalt-function/#post-1780489)
 * Status: resolved