Glossary Item Box

Squirrelcart v6.1.0

Components Overview

Overview

This feature can be used to auto generate an image from any other image field on the same record.

This feature is deprecated as of version 5.0. We recommend using the new Auto Size feature instead.

Details

In Squirrelcart, it is possible to automatically generate different sized images for a record's image fields, based on an image already assigned to another image field. This saves time that would otherwise be spent resizing images in a graphics program. This feature requires GD v1.6.2 or higher. If you do not see the components 10 through 15 as described below, then your server does not meet this requirement.

 

Auto generating of images is done via image fields on database records. Below is a screenshot of the Thumbnail Image field from the Products table, for reference. Items 1 through 9 are discussed in the Image Field Components topic.

 

  1. Autogenerate Trigger
    Checking this field initiates the autogeneration of this image, which is completed when you click Save Changes. After checking this field, the components 11 through 15 will appear.
  2. From
    This field controls which image the current image field's image will be generated from.
  3. Width
    The width of the new image in pixels
  4. Height
    The height of the new image in pixels
  5. Lock Aspect Ratio
    This will constrain the proportions of the autogenerated image, so that they match the source image. When enabled, you can only enter 1 dimension, and the other one will be calculated automatically.
  6. Edit Defaults
     This link will open the default settings for autogenerating this particular image field.

 

 


© 2001-2017 Lighthouse Development. All Rights Reserved.