Images snippets

Insert new images of resources to any place

Available images

LangShop supports localization for images of products, articles, and collections. Here the full list of objects properties, which can be replaced with a localized version:

  • product.featured_image
  • product.images[*]
  • variant.image
  • article.image
  • collection.image

Image URL

You can replace image url with a localized version with the help of "ls-img-url.liquid" snippet. Inserting will declare "LS_IMG_URL" variable (returns original if localization does not exist), which can be used to output url for the current language.

Input

        
            
        
    

Output

        
            
        
    

Image ALT

Show translated alternate value of the image with "ls-alt.liquid" snippet. Inserting will declare "LS_ALT" variable (returns original if localization does not exist), which can be used to output translation for the current language.

Input

        
            
        
    

Output

        
            
        
    

Start your 3-day free trial today!

Try LangShop free for 3 days by entering your domain of Shopify store.