Search and display one photo from gallery

Bring Your Business to LifeSupportImage StoreSearch and display one photo from gallery

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #53962
    Xpark Media
    Keymaster

    Currently the only best option without doing any coding is to create a gallery per student.

    You can change the gallery id to match the ID provided to the student. You can even add additional image from the student later on or create a user (student) and assign their gallery.

    #53972
    cadspro
    Participant

    Thanks for the reply…

    We thought about that the only thing we have about 1600 students… means the need to create 1600 galleries!

    was wondering is there anything coming in the next update!

    Or is there a code i could put in the Expert section of the Gallery…

    Many thanks

     

    #54029
    Xpark Media
    Keymaster

    something else you can do is register the images are full content type and password protect each image.

    function my_plugin_display_content_type( $image_type ){
    $image_type['show_ui']  = true;
    $image_type['labels']  = array(
    'name' => _x( 'Images', 'post type general name', 'ims' ),
    'singular_name' => _x( 'image', 'post type singular name', 'ims' ),
    );
    return $image_type;
    }
    add_filter('ims_image_post_type','my_plugin_display_content_type');
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.