JW rotator : how to customise the error message
If you have installed the NextGen gallery and activated slideshow, at least once you must have came across this error message. Especially with Internet Explorer, you are sure to get this error message. If you have a slow internet connection, you are likely to get this error message till the flash part get loaded.
I wanted a tweak to replace that error message with an image. I googled and googled, with no positive results. I figured it out myself. I am no expert in these. Naturally I don’t know whether there is an easier way. I thought maybe it will be useful for others.
Here it is:
Find ngfunctions.php in your wordpress folder/wp-content/plugins/nextgengallery
Go to the 37th line :
You can change the message here. Not just text. I actually put an image. I changed the code from this to :
$swfobject->message = ”. __(‘<img src=”http://keystone.mathew.webfactional.com/wp-content/gallery/home-page/re1.jpg” >’, ‘nggallery’).”;