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 March 12, 2019 at 12:06 pm #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.2GP Premium 1.7.8 March 12, 2019 at 2:40 pm #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? March 12, 2019 at 3:54 pm #837151 LeoStaff Customer Support Hi there, Glad you figured out! TU is just Tom’s initials. It would be anything ๐ Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Author Posts Viewing 3 posts - 1 through 3 (of 3 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In