NextGen WordPress Gallery Plugin Shortcode details

NextGEN Gallery is used to create dynamic image gallery having multiple Galleries, Albums, Images for wordpress website. You may enjoy to use this gallery for reducing hurdle for making your own or searching other gallery plugins.
But you must have knowledge to display image in your post or page of wordpress site. I have posted some shortcode which are used to show gallery with different layout.


Download now NextGen Gallery ( Download from here or Click here for download from wordpress.


NextGEN 2.0 introduces a new short code structure. This page describes everything you need to know to work fluidly with the new shortcodes.

We should start by emphasizing that you can now customize your galleries easily using the new Insert Gallery Window in your text editor. For the most part, you never need to use shortcodes again if you don’t want to.

The main places we think people may want to use these are:

  • Widgets. You can’t use the Insert Gallery Window within a widget, so you’d need to use a shortcode. 
  • Page/Post Text Editor. If you prefer to use the text-based editor for pages or posts, you currently need to work with shortcodes, or go back and forth between visual and text editor. We are working on making the Insert Gallery Window more robust for use with text-based editing.

Let’s start with a sample shortcode that includes a lot of options.


[ngg_images gallery_ids=”1″ display_type=”photocrati-nextgen_basic_slideshow” exclusions=”4,6″ gallery_width=”600″ gallery_height=”400″]



The shortcode above will display gallery #1 as a NextGEN Gallery basic slideshow. It will exclude images #4 and #6 and will set the slideshow size as 600px X 400px. So that gives you a sense for what the shortcodes will look like. Now lets break them down.


This is the parameter that now introduces every NextGEN Gallery shortcode.


Following the ngg_images tag, identify is the source of the images you want to display. There are several options for the image source.

  • gallery_ids=”1,3″   (retrieves galleries #1 and #3)
  • album_ids=”1″   (retrieves album #1)
  • tag_ids=”landscapes,florida beaches”   (retrieves images tagged ‘landscapes’ or ‘florida beaches’)
  • image_ids=”2,3,5″   (retrieves images 2, 3, and 5)
  • source=”recent”   (retrieves recently uploaded images)
  • source=”random”   (retrieves a random set of images from all galleries)

You can also chose to include or exclude specific images based on their ids.

  • gallery_ids=”1,3″ exclusions=”4,6″   (excludes images #4 and #6)
  • album_ids=”1,2″ exclusions=”a1″   (excludes sub album #1)


Following the image source, specify the display type. Here is a list of all available display types in NextGEN Gallery and NextGEN Pro.

  • display_type=”photocrati-nextgen_basic_slideshow”
  • display_type=”photocrati-nextgen_basic_thumbnails”
  • display_type=”photocrati-nextgen_basic_imagebrowser”
  • display_type=”photocrati-nextgen_basic_singlepic”
  • display_type=”photocrati-nextgen_basic_extended_album”
  • display_type=”photocrati-nextgen_basic_compact_album”
  • display_type=”photocrati-nextgen_pro_slideshow”
  • display_type=”photocrati-nextgen_pro_thumbnail_grid”
  • display_type=”photocrati-nextgen_pro_horizontal_filmstrip”
  • display_type=”photocrati-nextgen_pro_film”
  • display_type=”photocrati-nextgen_pro_blog_gallery”
  • display_type=”photocrati-nextgen_pro_list_album”
  • display_type=”photocrati-nextgen_pro_grid_album”
  • display_type=”photocrati-nextgen_pro_masonry”


For each NextGEN Gallery type, there is a large range of parameters and settings you can apply. These are all now visible in NextGEN Gallery 2.0’s new Insert Gallery Window. But you can also apply them using parameters within shortcodes. We are working on compiling an entirely complete list of every available shortcode parameter in NextGEN Gallery (there are a lot). For now, to give you a sense for what the options look like, consider the following parameters for slideshows and thumbnail galleries.
Example: Common Parameters for NextGEN Basic Slideshows

  • gallery_width=”600″
  • gallery_height=”400″
  • cycle_interval=”5″

Pro Slideshows

  • width=”600″
  • transition_speed=”3″
  • slideshow_speed=”2″

Example: Common Parameters for NextGEN Basic Thumbnail Gallery:

  • override_thumbnail_settings=”1″ (required to override default thumbnail setting within shortcodes)
  • thumbnail_width=”120″
  • thumbnail_height=”80″
  • thumbnail_crop=”1″
  • number_of_columns=”4″
  • show_slideshow_link=”1″
  • slideshow_link_text=”View Slideshow”

Pro Thumbnail Gallery

  • images_per_page=”10″
  • spacing=”3″
  • number_of_columns=”4″
  • ngg_triggers_display=”never”

Two general points:

  • For any parameters you do not define via shortcode, the gallery will adopt whatever default setting you have in NextGEN Gallery options panel (under Gallery > Gallery Settings). So if you don’t set the gallery width and height for a slideshow in a shortcode, the slideshow will just adopt the default gallery width and height that you’ve designated under Gallery > Gallery Settings > NextGEN Basic Slideshow.
  • For any parameters that are either Yes or No, you can use a “1” to indicate Yes or a “0” to indicate No.


Below are the standard shortcodes for NextGEN and NextGEN Pro gallery and album types. We provide this for those who would like to copy and paste the shortcodes.

NextGEN Basic Thumbnail Gallery


[ngg_images gallery_ids=”1″ display_type=”photocrati-nextgen_basic_thumbnails”]



NextGEN Basic Slideshow Gallery


[ngg_images gallery_ids=”1″ display_type=”photocrati-nextgen_basic_slideshow”]



NextGEN Basic Image Browser Gallery Gallery


[ngg_images gallery_ids=”1″ display_type=”photocrati-nextgen_basic_imagebrowser”]



NextGEN Basic SinglePic 


[ngg_images image_ids=”1″ display_type=”photocrati-nextgen_basic_singlepic”]




NextGEN Basic Tag Cloud


[ngg_images gallery_ids=”1″ display_type=”photocrati-nextgen_basic_tagcloud”]



NexGEN Basic Extended Album


[ngg_images album_ids=”2″ display_type=”photocrati-nextgen_basic_extended_album”]



NextGEN Basic Compact Album


[ngg_images album_ids=”2″ display_type=”photocrati-nextgen_basic_compact_album”]



NextGEN Pro Thumbnail Gallery


[ngg_images gallery_ids=”1″ display_type=”photocrati-nextgen_pro_thumbnail_grid”]



NextGEN Pro Slideshow Gallery


[ngg_images gallery_ids=”1″ display_type=”photocrati-nextgen_pro_slideshow”]



NextGEN Pro Filmstrip Gallery


[ngg_images gallery_ids=”1″ display_type=”photocrati-nextgen_pro_horizontal_filmstrip”]



NextGEN Pro Film Gallery


[ngg_images gallery_ids=”1″ display_type=”photocrati-nextgen_pro_film”]



NextGEN Pro Masonry


[ngg_images gallery_ids=”1″ display_type=”photocrati-nextgen_pro_masonry” size=”180″ padding=”10″]



NextGEN Pro BlogStyle Gallery


[ngg_images gallery_ids=”1″ display_type=”photocrati-nextgen_pro_blog_gallery”]



NextGEN Pro Grid Album


[ngg_images album_ids=”2″ display_type=”photocrati-nextgen_pro_grid_album”]



NextGEN Pro List Album


[ngg_images album_ids=”2″ display_type=”photocrati-nextgen_pro_list_album”]



Format of Experience letter

This is the format of Experience letter to write your employee when the  switch from your company. Here i also have shared my previous experience letter for making good seance of letter content writing. The body content will based on employees roles and responsibility.

Please feel free to download and edit it to make your copy one.


Click Here to Download Sample Letter.


Another real letter, which was my previous office work experience.

View Nepal Web Hosting Experience letter

IT and Engineering College list in Nepal – Pokhara University, Purbanchal University

We are having many option to choose University for the further study. If you wish to study in Nepal and you haven’t get change to study in Tribhuban University affiliated colleges. I get collection of University which is affiliated by Pokhara University and Purbanchal University.

Pokhara University

  1. Nepal Engineering College

Changunarayan VDC, Bhaktapur, Nepal.
Phone: +(977)015090744
Fax : +(977)015090681
G.P.O. Box: 10210, Kathmandu, Nepal
Email: Offered
•    Architecture
•    Civil Engineering
•    Civil and Rural Engineering
•    Computer Engineering
•    Electrical and Electronics Engineering
•    Electronics and Communication Engineering
•    B.E Civil (For Diploma Holders)
•    M.Sc. in Construction Management
•    M.Sc. in Interdisciplinary Water Resources Management
•    M.Sc. in Natural Resources Management
M.Sc. in Transportation Engineering and Management

2. School of Environmental Science and Management

Devkota  Sadak, Mid Baneshwor Kathmandu, Nepal
Telephone: +977 01 4482475, +977 01 4465118
Fax: +977 01 4465119
Email: Offered
•    BBA
•    B.Sc. in Environment Management
•    M.Sc. in Environment Management

3. Brihaspati College

Goligadh-9 , Bhairahawa
Telephone: 071-522944/523744
Fax :071-522944

4. Tilottama College

Shanka rnagar- 2, Rupandehi, Nepal
Phone No: +977-071437659
Fax No: +977-071-438559

  1. .
  2. .
  3. .
  4. .
  5. Gandaki College of Engineering and Science
  6. Nepal Tourism and Hotel Management College
  7. Ace Institute of Management
  8. V.S. Niketan College
  9. National Open College
  10. Crimson College of Technology
  11. Lumbini Engineering Management and Science College
  12. Nepal College of Information Technology
  13. Cosmos College of Management and Technology
  14. Pokhara College of Management
  15. Excel International College
  16. Axis College
  17. Siddartha College
  18. Uniglobe College
  19. SAIM College
  20. Quest International College
  21. Platinum Management College
  22. Victoria International College
  23. Nepal Western Management and Engineering College
  24. Shahid Ramnath Dahal Smriti College
  25. Cist College
  26. Apollo International College
  27. Modern Technical College
  28. Atharva Business College
  29. Medhavi College
  30. Norvic Business College
  31. Malpi International College
  32. Institute of Advance Communication, Education and Research Center
  33. Pokhara Engineering College
  34. Apex College
  35. Universal Science College
  36. LA Grandee International College
  37. Oxford College of Engineering and Management
  38. National Academy of Science and Technology (Dhangadi Engineering College)
  39. Nobel College
  40. Everest Engineering Management College
  41. Briston College
  42. Atlantic International College
  43. Liberty College
  44. Camad College
  45. Citizen College
  46. Kshitiz International College
  47. Alpine Management College
  48. Amity College
  49. Rapti Engineering College
  50. Ritz Hospitality Management College
  51. Boston International College
  52. Butwal Model College
  53. United Technical College
  54. Rajdhani Model College
  55. Shuvashree International College
  56. Valley State College
  57. Central College
  58. College of Engineering and Management

Run Sparrow sms API from PHP


SMS Gateway API

Sparrow SMS is a leading Bulk SMS Service Provider and VAS provider in Nepal. We are a trusted name for delivering SMS and bulk messaging covering major mobile operators (Ncell, NTC, SmartTel) providing greatest reach for customer communication with an easy-to-use messaging platform along with reliable connectivity.


Sparrow Sms is implemented for the business purpose to send SMS from programming. Here i have shared the implemented Sms API code from the Php file.   Before implementation the curl  

Implementation of Post Post API

  $args = http_build_query(array( ‘token’ => ‘9DM16QEFbzEpXPnfV0D6’, ‘from’ => ‘Demo’, ‘to’ => ‘9849074553’, ‘text’ => ‘HELO MIKE TESTING TESTING’));

$url = “”;

# Make the call using API.

$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, $url);

curl_setopt($ch, CURLOPT_POST, 1);

curl_setopt($ch, CURLOPT_POSTFIELDS,$args);

curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

// Response $response = curl_exec($ch);

$status_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);





token:  is given by the api we can create it in management section of sparrow sms system.

from : is the identifier which is given by sparrow sms

to : receivers mobile number. [we can add multiple mobile by comma separation ex. 9849074553,9841700769]

text : message body which we have to sent to the user  

How to run Procedure directly from Toad to get cursor result

Sometimes we need to check procedure out put in fast manner without implemented by server side script.

This will show result in Data Grid by calling Procedure with its in put and out put parameter.

Here is example of Cursor Out put Procedure which will show the customer detail information.

CPR_GET_BPC_CLIENT_INFO is procedure name

<10> is first  input parameter

<1010011003660524> is second input parameter

<‘A’> is third input parameter

<‘X’> is the fourth output  parameter with cursor type




EXEC CPR_GET_BPC_CLIENT_INFO(10,1010011003660524,’A’,:X);



The real implementation of Php Script to call CPR_GET_BPC_CLIENT_INFO procedure.