To insert code in a forum thread or comment wrap it in code tags : <code>...</code>.
nextGEN featured image in posts
  • Hi KaptinLin,

    my question is similar to But i want to use nextGEN gallery images as featured images in posts. When I add featured picture from a nextGEN gallery just a grey box shows up. Is there a solution for that?

    Many thanks in advance.

    Best regards
  • 4 Comments sorted by
  • Hi newww,

    Maybe you can learn from

    I will look into the code if i get some times.

  • Hi KaptinLin,

    thank you. I understand the problem. It seems difficult to modify themeGenerator.php so that the dimensions are not queried. It would please me if you can watch the code again if you have time.

    Best regards
  • Hello newww,

    Just look into the code.

    You can edit on 'striking/framework/helpers/themeGenerator.php'

    change the code in line 262

    $image_src_array = wp_get_attachment_image_src(get_post_thumbnail_id(),'full', true);


    $id = get_post_thumbnail_id();
    if(stripos($id,'ngg-') !== false && class_exists('nggdb')){
    $nggImage = nggdb::find_image(str_replace('ngg-','',$id));
    $image_src_array = array(
    $image_src_array = wp_get_attachment_image_src($id,'full', true);

  • Hello KaptinLin,

    sorry for my late response and thank you very much. This Solution works great.

    Best regards
This discussion has been closed.
All Discussions