Skip to main content

How do I set up image resizing and filename optimization?

Resize oversized images, choose which images to optimize and set filename and ALT text templates.

Written by Julia

All image optimization options are in TinySEO under Settings. Image resizing, image types and credit settings are in the Overview tab. The filename template is in the Filename tab and the ALT text template in the ALT text tab.

Advanced image resizing

Very large images slow your store down. With Advanced image resizing, TinySEO makes oversized images smaller while it optimizes them. You can set a maximum size for each image type:

  • "Resize oversized product images to"

  • "Resize oversized collection images to"

  • "Resize oversized article images to"

  • "Resize oversized theme asset images to"

Pick a size between 800px and 4000px, or "Do not resize", and click Save. Each dropdown marks the recommended size.

Good to know

  • The size is the limit for the longer side. A wide image is resized to that width, a tall image to that height. The aspect ratio stays the same.

  • Images are only made smaller, never larger. Images that already fit are optimized without resizing.

  • If your theme lets customers zoom into images, a slight quality loss may be visible when zoomed in.

  • Resizing needs the Beginner, Advanced or Expert plan. On the Free plan you'll see an Upgrade button instead of Save.

Optimize your images

In Optimize your images, choose which images TinySEO should optimize:

  • Optimize product images

  • Optimize collection images

  • Optimize blog main image (the featured image of each blog post)

  • Optimize asset images (images in your theme files)

Click Save. Image types you uncheck are skipped.

Filename optimization

Search engines read image filenames, so descriptive names help your images show up in image search. With filename optimization, TinySEO renames your product images when it optimizes them.

  1. Open Settings and click Filename.

  2. Edit the "Image filename template". Click a variable under "Template variables" to add it.

  3. Click Activate. If filename optimization is already active, click Save.

The default template is #product_name#. You can use these variables:

  • #product_name#, #product_type#, #product_vendor#: the product's title, type and vendor.

  • #shop_name#: your store name.

  • #variant_sku#, #variant_barcode#: the SKU and barcode of the variant the image belongs to.

  • #option1#, #option2#, #option3#: that variant's option values, like color or size.

  • #tag1#, #tag2#, #tag3#: the product's first three tags.

Good to know

  • Filenames are turned into lowercase words with hyphens, and TinySEO adds a random number at the end so every name is unique. For example, blue-cotton-shirt-4829173.jpg.

  • Use 4 variables or fewer. Longer names may get cut off.

  • The template is used for product images only.

  • Images are renamed when TinySEO optimizes them for the first time. If you change the template later, images that were already optimized keep their name. Read more in Why hasn't my image filename changed after optimization?

ALT text template

ALT texts work the same way. Open Settings, click ALT text and set up ALT text optimization:

  1. Under "ALT text generation", choose "Override all ALT texts" or "Generate only missing ALT texts (keep original ALT texts)".

  2. Edit the "Image ALT text template". The default is #product_name# - #shop_name#. Besides the filename variables, you can use #original_value# (the image's current ALT text) and #incrementing_number# (the image's position on the product).

  3. Click Activate, or Save if it's already active.

If you change the template later, click Regenerate to apply it to product images that were already optimized. ALT texts you edited by hand are kept.

Stop optimizing when credits run out

This setting is in the Overview tab on monthly paid plans. When it's active (you'll see an Active label), TinySEO stops optimizing images when your credits run out and continues when they renew in the next billing cycle. You won't be charged extra.

  • To turn it on, click Disable extra image optimizations.

  • To keep optimizing after your credits run out, click Enable extra image optimizations. Extra images are charged at the "Extra image price" shown under Billing information.

Extra image optimizations are charged even during your trial. Only the plan price is free until the trial ends.

If you have questions about any of these settings, message us in the in-app chat.

Did this answer your question?