Skip to content

Instantly share code, notes, and snippets.

@addisonhall
Created August 7, 2013 16:02
Show Gist options
  • Save addisonhall/6175453 to your computer and use it in GitHub Desktop.
Save addisonhall/6175453 to your computer and use it in GitHub Desktop.
Parameters to automatically resize images in Adobe Business Catalyst
<!-- Basic resize -->
<img src="/folder_name/image_file_name.jpg?Action=thumbnail&Width=80&Height=80" alt="image">
<!-- Proportional resize -->
<img src="/folder_name/image_file_name.jpg?Action=thumbnail&Width=80&Height=80&algorithm=fill_proportional" alt="image">
<!-- Non-proportional resize -->
<img src="/folder_name/image_file_name.jpg?Action=thumbnail&Width=80&Height=80&algorithm=fill" alt="image">
<!-- Set output format -->
<img src="/folder_name/image_file_name.jpg?Action=thumbnail&Width=80&Height=80&Format=png" alt="image">
<!-- For web apps -->
<img src="{tag_myimage_value}?Action=thumbnail&Width=80&Height=80" alt="image">
<!-- For online store -->
<img src="{tag_largeimage_path}?Action=thumbnail&Width=50&Height=50" alt="image">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment