Hi,
As a few others, I have a problem with pictures in FCG these days. My site: bjerreandersen.dk
I just installed the plugin and has not been able to make it work. To complicate things, I use it in a sidebar widget with the Featured Gallery Widget (http://www.frakmedia.net/wordpress/feat ... ery-widget).
As you can see, the FCG shows (on top in the right sidebar), but without images - even the links works. I've triblechecked the urls of the images - and I've tried to disable every single plugin, but without results.
Could it be my theme that is causing the problem??
Images not in FCG
7 posts • Page 1 of 1
Re: Images not in FCG
give me screenshot of your fcg options page, also tell me how you add it, in what page, how gallery call looks like...
Yelena Khamidullina
Web Applications Developer, iePlexus
1. Check settings to exclude fcg-YOU conflict
2. Try to turn off all your plugins at once to exclude fcg-other plugin conflict
3. Try default theme to exclude fcg-theme conflict
4. Post in this forum to involve me in your troubleshooting. URL is required
Web Applications Developer, iePlexus
1. Check settings to exclude fcg-YOU conflict
2. Try to turn off all your plugins at once to exclude fcg-other plugin conflict
3. Try default theme to exclude fcg-theme conflict
4. Post in this forum to involve me in your troubleshooting. URL is required
-

admin - Site Admin
- Posts: 4789
- Joined: Fri Jan 16, 2009 9:29 am
- Location: Seattle, WA
Re: Images not in FCG
the screenshot is attached 
I add the gallery as a widget. The widget is in itself a plugin, that after installation is added to the sidebar.
The plugins code looks like this (to me, the relevant parts seems to be right...):
// The meat of the plugin
function featured_gallery_init()
{
if ( !function_exists('register_sidebar_widget') || !function_exists('register_widget_control') )
return;
function featured_gallery_control()
{
$blogdomain = get_bloginfo('url');
$url = $blogdomain.'/wp-admin/options-general.php?page=featured-content-gallery/options.php';
echo 'No configuration of this widget is necessary. To configure the Content Gallery, <a href="'.$url.'">click here.</a>';
}
/////////////////////////////////////////////////////////////////////////////////////////////////////
//
// OUTPUT CLOCK WIDGET
//
/////////////////////////////////////////////////////////////////////////////////////////////////////
function featured_gallery_clock($args)
{
// Output everything
echo $before_widget;
include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); // placeholder
echo $after_widget;
}
register_sidebar_widget('Featured Gallery Widget', 'featured_gallery_clock');
register_widget_control('Featured Gallery Widget', 'featured_gallery_control', 245, 300);
}
add_action('plugins_loaded', 'featured_gallery_init');
?>
I add the gallery as a widget. The widget is in itself a plugin, that after installation is added to the sidebar.
The plugins code looks like this (to me, the relevant parts seems to be right...):
// The meat of the plugin
function featured_gallery_init()
{
if ( !function_exists('register_sidebar_widget') || !function_exists('register_widget_control') )
return;
function featured_gallery_control()
{
$blogdomain = get_bloginfo('url');
$url = $blogdomain.'/wp-admin/options-general.php?page=featured-content-gallery/options.php';
echo 'No configuration of this widget is necessary. To configure the Content Gallery, <a href="'.$url.'">click here.</a>';
}
/////////////////////////////////////////////////////////////////////////////////////////////////////
//
// OUTPUT CLOCK WIDGET
//
/////////////////////////////////////////////////////////////////////////////////////////////////////
function featured_gallery_clock($args)
{
// Output everything
echo $before_widget;
include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); // placeholder
echo $after_widget;
}
register_sidebar_widget('Featured Gallery Widget', 'featured_gallery_clock');
register_widget_control('Featured Gallery Widget', 'featured_gallery_control', 245, 300);
}
add_action('plugins_loaded', 'featured_gallery_init');
?>
- Attachments
-
- Skærmbillede-Featured Content Gallery Options ‹ bjerreandersen.dk — WordPress – Google Chrome.png (163.59 KiB) Viewed 284 times
- bjerreandersen
- Posts: 4
- Joined: Sat Jan 15, 2011 7:14 am
Re: Images not in FCG
the screenshot is here:
I add the gallery as a widget. The widget is in itself a plugin, that after installation is added to the sidebar.
The plugins code looks like this (to me, the relevant parts seems to be right...):
// The meat of the plugin
function featured_gallery_init()
{
if ( !function_exists('register_sidebar_widget') || !function_exists('register_widget_control') )
return;
function featured_gallery_control()
{
$blogdomain = get_bloginfo('url');
$url = $blogdomain.'/wp-admin/options-general.php?page=featured-content-gallery/options.php';
echo 'No configuration of this widget is necessary. To configure the Content Gallery, <a href="'.$url.'">click here.</a>';
}
/////////////////////////////////////////////////////////////////////////////////////////////////////
//
// OUTPUT CLOCK WIDGET
//
/////////////////////////////////////////////////////////////////////////////////////////////////////
function featured_gallery_clock($args)
{
// Output everything
echo $before_widget;
include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); // placeholder
echo $after_widget;
}
register_sidebar_widget('Featured Gallery Widget', 'featured_gallery_clock');
register_widget_control('Featured Gallery Widget', 'featured_gallery_control', 245, 300);
}
add_action('plugins_loaded', 'featured_gallery_init');
?>
I add the gallery as a widget. The widget is in itself a plugin, that after installation is added to the sidebar.
The plugins code looks like this (to me, the relevant parts seems to be right...):
// The meat of the plugin
function featured_gallery_init()
{
if ( !function_exists('register_sidebar_widget') || !function_exists('register_widget_control') )
return;
function featured_gallery_control()
{
$blogdomain = get_bloginfo('url');
$url = $blogdomain.'/wp-admin/options-general.php?page=featured-content-gallery/options.php';
echo 'No configuration of this widget is necessary. To configure the Content Gallery, <a href="'.$url.'">click here.</a>';
}
/////////////////////////////////////////////////////////////////////////////////////////////////////
//
// OUTPUT CLOCK WIDGET
//
/////////////////////////////////////////////////////////////////////////////////////////////////////
function featured_gallery_clock($args)
{
// Output everything
echo $before_widget;
include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); // placeholder
echo $after_widget;
}
register_sidebar_widget('Featured Gallery Widget', 'featured_gallery_clock');
register_widget_control('Featured Gallery Widget', 'featured_gallery_control', 245, 300);
}
add_action('plugins_loaded', 'featured_gallery_init');
?>
- bjerreandersen
- Posts: 4
- Joined: Sat Jan 15, 2011 7:14 am
Re: Images not in FCG
for that last piece of code for function function featured_gallery_clock($args) , where it has gallery call, change gallery call from this
to this
if this is not gonna help, there is probably plugin conflict, try to turn on other plugins one by one
- Code: Select all
include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php');
to this
- Code: Select all
global $post; include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php');
if this is not gonna help, there is probably plugin conflict, try to turn on other plugins one by one
Yelena Khamidullina
Web Applications Developer, iePlexus
1. Check settings to exclude fcg-YOU conflict
2. Try to turn off all your plugins at once to exclude fcg-other plugin conflict
3. Try default theme to exclude fcg-theme conflict
4. Post in this forum to involve me in your troubleshooting. URL is required
Web Applications Developer, iePlexus
1. Check settings to exclude fcg-YOU conflict
2. Try to turn off all your plugins at once to exclude fcg-other plugin conflict
3. Try default theme to exclude fcg-theme conflict
4. Post in this forum to involve me in your troubleshooting. URL is required
-

admin - Site Admin
- Posts: 4789
- Joined: Fri Jan 16, 2009 9:29 am
- Location: Seattle, WA
Re: Images not in FCG
I found the problem: The Lightbox2-plugin. When it's disabled, FCG works with the new code, you gave me....
BUT: Is there any workaround to make both FCG and lightbox2 work...? Eventually, could I send you the plugincode for lightbox2?
frederik
BUT: Is there any workaround to make both FCG and lightbox2 work...? Eventually, could I send you the plugincode for lightbox2?
frederik
- bjerreandersen
- Posts: 4
- Joined: Sat Jan 15, 2011 7:14 am
Re: Images not in FCG
there is no solution from me at this time, may be somewhere else there is some..
Yelena Khamidullina
Web Applications Developer, iePlexus
1. Check settings to exclude fcg-YOU conflict
2. Try to turn off all your plugins at once to exclude fcg-other plugin conflict
3. Try default theme to exclude fcg-theme conflict
4. Post in this forum to involve me in your troubleshooting. URL is required
Web Applications Developer, iePlexus
1. Check settings to exclude fcg-YOU conflict
2. Try to turn off all your plugins at once to exclude fcg-other plugin conflict
3. Try default theme to exclude fcg-theme conflict
4. Post in this forum to involve me in your troubleshooting. URL is required
-

admin - Site Admin
- Posts: 4789
- Joined: Fri Jan 16, 2009 9:29 am
- Location: Seattle, WA
7 posts • Page 1 of 1
Who is online
Users browsing this forum: nonquitaeach and 1 guest









