WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery
nggallery shortcode and add_image_size (1 post)

  1. lonchbox
    Member
    Posted 2 years ago #

    Hi,

    I have a doubt, there is a posibility to use aa new add_image_size in the gallery shortcode?

    In my functions.php

    add_image_size('background_slider', 1680, 1050, true);

    For the theme I use this code to show the gallery on my template
    <?php echo do_shortcode('[nggallery id=1 template=backgroundslide]');?>

    Until here everything works perfectly, but canĀ“t find a way yo set somethign like
    <?php echo do_shortcode('[nggallery id=1 template=backgroundslide w=100 h=200]');?>
    or
    <?php echo do_shortcode('[nggallery id=1 template=backgroundslide size=background_slider]');?>

    What I try to do is set an image size for the gallery but not using the the resize image in the gallery options.

    Any help is welcome :)

    http://wordpress.org/extend/plugins/nextgen-gallery/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic