Hi all a first post so appologies if I get anything wrong. I have searched but can't find an answer.
I used the Nextgen plugin sucessfully a little while back and was so impressed with the functionality and flexibility I was going to make it my media manager of choice.
The last two sites I have had issues with it when trying to use it to replace the media libaray manager. The issue I have at present is that the theme I am using uses a full screen slider and uses a custom post type.
I can set the theme fine using the Media Library but can't when I opt over to Nextgen. I don't understand why it is that the Media Library option works fine and not Nextgen. I am litterally selecting the Nextgen tab from the media libary Manger to select the image.
I can't find details on how the two differ in the way that they are coded in such a circumstance or what the possible difference might be.
I thought that the post type slides was called and that contained the media but this can't be the case. Can one of you knowledgable souls enlighten me so that I can educate myself.
Thanks in advance
Websitu
Line of code below from
<?php }else{
//Last to First
//query_posts(array('post_type'=>'slides'));
//First to Last
query_posts('post_type=slides&order=ASC&posts_per_page=-1');
$output = "";
$n= 0;
//Loop for Post Types Slides
if ( have_posts() ) while ( have_posts() ) : the_post();
$n++;
//Slide Image
$thumbnail = wp_get_attachment_image_src(get_post_thumbnail_id(), 'full');
//Get the Slide meta info
$slide_link = get_post_meta(get_the_ID(), 'mb_slide_link', true);
$output.="{";
$output.="image : '". $thumbnail[0] ."'";
if($slide_link != ''){
$output.=" , url : '". $slide_link." '";
} ;
output.="},";
endwhile;
if($n > 1){
$output = substr ($output, 0, -1);
}
echo $output;
// Reset the global $the_post as this query will have stomped on it
wp_reset_query();
?>