[Plugin: NextGEN Gallery] nggallery shortcode and add_image_size
-
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 🙂
The topic ‘[Plugin: NextGEN Gallery] nggallery shortcode and add_image_size’ is closed to new replies.