SuiteCommerce includes standard resize IDs that allow for specifying the height and width of certain images. More information about the native standard resize ID setup is within this blog article.
Custom Resize IDs can be added to expand the number of resize options beyond what is natively available. This would be most useful if you want to manage the resizing of a specific group of images without affecting other images on the site.
The following steps are needed to set up custom Resize IDs and to surface them to the site:
src="{{resizeImage image 'thumbnail'}}"
5. Replace the resize ID with your custom resize ID. In this case, we are switching out ‘thumbnail’ with 'ccthumbnail'. This tells the code to reference our custom image resize ID for this specific image on the site.
src="{{resizeImage image 'ccthumbnail'}}"
7. Deploy and activate your theme update to the site.
8. Now you can manage their custom resize IDs from NetSuite!
We like to update our blogs and articles to make sure they help resolve any troubleshooting difficulties you are having. Sometimes, there is a related feature to enable or a field to fill out that we miss during the instructions. If this article didn't resolve the issue, please use the chat and let us know so that we can update this article!
If you have general questions about SuiteCommerce or more specific questions about how our team can support your business as you implement NetSuite or SuiteCommerce, feel free to contact us anytime. Anchor Group is a certified Oracle NetSuite Alliance Partner and Commerce Partner equipped to handle all kinds of NetSuite and SuiteCommerce projects, large or small!
Tagged with Training