Skip to main content

Where are product images stored in the Lasso WordPress database?

Lasso uses the WordPress Media Library to store your non-Amazon images.

Written by Caitlin Ward

Most users won't have to worry about where their Lasso images are stored. But, understanding where these images are stored in the WordPress database can help with troubleshooting, customization, or compliance purposes.


Overview of Product Image Storage in Lasso

Lasso utilizes the WordPress database to store information about product images. Specifically, it leverages the wp_postmeta table. The storage location and meta information may vary depending on the type of product image being managed.

šŸ’” Note: This is for non-Amazon images only. Amazon images aren't stored or uploaded to your site.


Storage of Custom, Uploaded Product Images

If you upload a custom image for a product, the image's metadata is stored in the WordPress wp_postmeta table. The specific field used is:

  • Table: wp_postmeta

  • Column: meta_key

  • Value: lasso_custom_thumbnail

This ensures that Lasso can reference and display the custom image whenever it is needed.


Notes on Configurations and Customizations

  • The default table prefix in WordPress is wp_. However, if your site has a custom table prefix (e.g., custom_prefix_), use that customization when locating the postmeta table and related metadata.

  • Both non-Amazon product images and manually uploaded regular images for non-Amazon links use the same meta_key value, lasso_custom_thumbnail.

By understanding these details, you can easily locate and manage product images as stored by the Lasso plugin in your WordPress database. This knowledge is particularly useful for troubleshooting or making advanced customizations to your site’s database.


Need Help?

If you have questions, the Lasso team is here to help. Click that chat bubble in the bottom right corner, or send an email to [email protected] anytime. We're here for you!

Did this answer your question?