Title: teaser-loop image size
Last modified: April 28, 2020

---

# teaser-loop image size

 *  Resolved [Antal Tettinger](https://wordpress.org/support/users/antaltettinger/)
 * (@antaltettinger)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/teaser-loop-image-size/)
 * Hello Vladimir!
 * In the teaser-loop.php on line 11 the image is specified as the_post_thumbnail(”)
   and it is loading too large images unless I change it to the_post_thumbnail(‘
   thumbnail’).
    Could you please give feedback or fix that on the next update? 
   Thank you!
 * Antal

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Vova](https://wordpress.org/support/users/gn_themes/)
 * (@gn_themes)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/teaser-loop-image-size/#post-12745873)
 * Hi Antal,
 * teaser-loop does not have this `<?php the_post_thumbnail( '' ); ?>`, instead 
   it uses `<?php the_post_thumbnail(); ?>`. These are different things.
 * According to the Codex article [here](https://developer.wordpress.org/reference/functions/the_post_thumbnail/),`
   the_post_thumbnail()` uses `post-thumbnail` as the default value. This predefined
   size may be different depending on your theme. Please read the article to learn
   more.
 *  Thread Starter [Antal Tettinger](https://wordpress.org/support/users/antaltettinger/)
 * (@antaltettinger)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/teaser-loop-image-size/#post-12749471)
 * Thank you for your quick reply Vladimir. Yes I know that, but the thing is that
   for some reason it only loads thumbnail sized images if I specify ‘thumbnail’.
   Then it loads the correct thumbnail size image, so I think the thumbnail settings
   for the theme are fine.
 * Otherwise it looks like a thumbnail, but when you check the image file size it
   loads a larger image if we don’t specify ‘thumbnail’.
 * So I am not sure about this if it is a WordPress issue or something else, because
   it should be the same if I specify thumbnail or if I don’t. Anyway we just keep
   replacing the file.
 * Have a nice day!
 *  Plugin Author [Vova](https://wordpress.org/support/users/gn_themes/)
 * (@gn_themes)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/teaser-loop-image-size/#post-12756376)
 * Hi Antal,
 * you don’t have to replace the file on each update. Just create a custom template
   instead. Follow the steps below.
 * 1. Copy the _teaser-loop.php_ file from _/wp-content/plugins/shortcodes-ultimate/
   templates/_ to _/wp-content/themes/YOUR\_THEME/templates/_.
 * 2. Add the `'thumbnail'` parameter to it.
 *  Thread Starter [Antal Tettinger](https://wordpress.org/support/users/antaltettinger/)
 * (@antaltettinger)
 * [6 years ago](https://wordpress.org/support/topic/teaser-loop-image-size/#post-12868786)
 * Big thanks Vladimir! Sorry for the late reply.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘teaser-loop image size’ is closed to new replies.

 * ![](https://ps.w.org/shortcodes-ultimate/assets/icon-256x256.gif?rev=2547563)
 * [Shortcodes Ultimate - Content Elements](https://wordpress.org/plugins/shortcodes-ultimate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shortcodes-ultimate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shortcodes-ultimate/)
 * [Active Topics](https://wordpress.org/support/plugin/shortcodes-ultimate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shortcodes-ultimate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shortcodes-ultimate/reviews/)

## Tags

 * [templates](https://wordpress.org/support/topic-tag/templates/)
 * [thumbnails](https://wordpress.org/support/topic-tag/thumbnails/)

 * 4 replies
 * 2 participants
 * Last reply from: [Antal Tettinger](https://wordpress.org/support/users/antaltettinger/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/teaser-loop-image-size/#post-12868786)
 * Status: resolved