WordPress.org

Ready to get started?Download WordPress

Forums

JSJ Gallery Slideshow
[resolved] Choose image size (5 posts)

  1. Daniele "Mte90" Scasciafratte
    Member
    Posted 8 months ago #

    With this code

    remove_shortcode('gallery');
    add_shortcode('gallery', 'custom_size_gallery');
    
    function custom_size_gallery($attr) {
        $attr['size'] = 'gallery_size';
        return gallery_shortcode($attr);
    }

    it's possible set the image size for the shortcode gallery.
    But with this plugin this code remove the slideshow of this plugin.
    It's possible add a settings for this feature?

    http://wordpress.org/plugins/jsj-gallery-slideshow/

  2. Jorge Silva-Jetter
    Member
    Plugin Author

    Posted 8 months ago #

    I might take a look at that and add it later on.

  3. Jorge Silva-Jetter
    Member
    Plugin Author

    Posted 8 months ago #

    Actually, thinking a bit about this, why exactly do you want to do that? What problem would this solve? Why do you want to specify a 'size' for the gallery? Just curious.

    Right now, the plugin always calls the 'full' image (that has problems of its own obviously). Are you using cropped images and want to include the cropped images and not the regular ones?

  4. Daniele "Mte90" Scasciafratte
    Member
    Posted 8 months ago #

    In the site i have many format size for the images.
    i don't need the full image because they are not watermarked while the others format are watermarked.

  5. Jorge Silva-Jetter
    Member
    Plugin Author

    Posted 8 months ago #

    That makes sense. I'll try implementing this it in the next version. That might be a few weeks away. I'll let you know!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.