[Resolved] Image Gallery Resizing

Home Forums Support [Resolved] Image Gallery Resizing

Home Forums Support Image Gallery Resizing

  • This topic has 2 replies, 2 voices, and was last updated 4 years ago by Leo.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #836990
    Tommy

    Using GP and Elementor.

    Having major issues with an image gallery in terms of image sizing/alignments, etc.

    After banging my head for over 10 hrs, I think I finally found a possible solution that looks like it may work, but after adding Tom’s code, it’s still not working.

    I’m so close I think, but need some help to finish line ๐Ÿ˜‰

    Pretty please.

    GeneratePress 2.2.2
    GP Premium 1.7.8
    #837102
    Tommy

    Ok so added this, and looks like it’s working now (ran Regenerate Thumbnails, but that didn’t work so had to re-upload my 150+ images. That sucked.)

    add_action('after_setup_theme', 'tu_add_image_sizes');
    function tu_add_image_sizes() {
        add_image_size( 'Custom Media Gallery', 300, 300, true ); // 300x300 pixels wide
    }

    Q: what does the “tu” prefix mean?

    #837151
    Leo
    Staff
    Customer Support

    Hi there,

    Glad you figured out!

    TU is just Tom’s initials. It would be anything ๐Ÿ™‚

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.