Table of Contents

Frequently Asked Questions

How can i slow down the slideshow animation? (smoothgallery template)

Open up templates/smoothgallery/header.php and find the line:

timed: true,delay: 5000

Change the value as you need there.

Featplug's slideshow template seems to not work with Lightbox plugins/scripts

Yes, smoothgallery script that featplug uses have problems with other Lightbox plugins/scripts. But WP-Shutter-Reloaded plugin http://www.laptoptips.ca/projects/wp-shutter-reloaded/ seems to work with Featplug. Instead use it.

Parse error: syntax error, unexpected T_STRING, expecting '&' or T_VARIABLE or T_CONST in wp-content\plugins\featplug\layer\wordpress\featplug-wordpress.php on line 12

With version 0.59 running under php4, when trying to activate the plugin you'll get this error. Either upgrade to 0.60 version or open layer\wordpress\featplug-wordpress.php and goto line 12 and change;

function pump_wordpress_data($filter,engine $e)

to

function pump_wordpress_data($filter,$e)

My images are not cached, instead every time they're re-rendered with GD

You may be missing the directory \cache under the Featplug's installation directory and Featplug may not be able to create it on its own. So go to your Featplug's installation directory and create a directory named cache and set the right permissions for webserver.

For linux;

cd /var/www/anyweb/featplug
mkdir cache
chown www-data:www-data cache -R

[Featplug Warning]: No suitable images found for given dimensions W x H - Image Enlarging Enabled: 0/1

If plugin always keeps saying “No suitable images found for rendering ” although you tried supply different width & height combinations, then your PHP installations config can be faulty; This happens when php's getimagesize function do not run properly.

To test it out create a new test.php file;

<?php
$info = getimagesize("http://www.google.com.tr/images/nav_logo3.png");
print_r($info);
?>

and open the file using your browser; http://yourwebsite/test.php
If output is similar to these lines;

Warning: getimagesize() [function.getimagesize]: URL file-access is disabled in the server configuration in test.php on line 2
Warning: getimagesize(http://www.google.com.tr/images/nav_logo3.png) [function.getimagesize]: failed to open stream: no suitable wrapper could be found in test.php on line 2

Then as it says; URL file-access is disabled on your host.
To fix it edit your php.ini and set these values;

allow_url_fopen=on
allow_url_include=on

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /engine.php on line 33

If you keep getting this error you're probably running WP-Post-Banners 0.50;

“Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /…/wp-content/plugins/wp-post-banners/engine.php on line 33”

WP-Post-Banners version 0.50 and below was coded for php5 and when you try to run it under php4 you’ll get this error. With version 0.51, php4 is supported. So either use plugin version 0.51 or upgrade to php5.