Forjr
DocsBlogReleases

Start with

  • Installationtopic.start
  • The wordstopic.words
  • Plans: how rows are asked fortopic.plans
  • Screen files and stubstopic.screens
  • Tests of an apptopic.tests
Light or dark
  • Getting started
  • Core ideas
  • Data
  • Screens
  • Work
  • Testing
  • Running an app
  • Building on Forjr

Reference

  • Words
    • action
    • agent
    • allow
    • anyone
    • asset
    • avg
    • backfill
    • between
    • boolean
    • calc
    • caller
    • ceil
    • change
    • choice
    • chunks
    • col
    • command
    • component
    • concat
    • contains
    • count
    • cron
    • date
    • day
    • dayOf
    • declared
    • del
    • each
    • earlier
    • emit
    • evals
    • event
    • every
    • expect
    • fail
    • file
    • fingerprint
    • floor
    • flow
    • get
    • given
    • incoming
    • input
    • join
    • json
    • judge
    • later
    • least
    • link
    • list
    • lower
    • max
    • message
    • messages
    • min
    • model
    • most
    • noOtherPeople
    • noPersonal
    • now
    • number
    • object
    • optimistic
    • patch
    • post
    • project
      • api
      • backups
      • build
      • cache
      • cli
      • cookies
      • countBy
      • currency
      • describeTo
      • files
      • head
      • history
      • hold
      • hosts
      • html
      • icon
      • identify
      • images
      • languages
      • limits
      • mail
      • mcp
      • onRequest
      • privateHosts
      • publish
      • python
      • redirects
      • release
      • removed
      • roots
      • settings
      • signInPath
      • state
      • title
      • trace
      • trailingSlash
      • unlock
      • uploads
      • vitals
      • was
      • workers
      • zone
    • put
    • python
    • query
    • random
    • range
    • read
    • request
    • role
    • round
    • route
    • s3
    • sameSecret
    • sampleOf
    • screen
    • secret
    • seed
    • service
    • setting
    • slice
    • start
    • startsWith
    • sum
    • table
    • testApp
    • text
    • token
    • trim
    • upper
    • vector
    • verified
    • where
  • Tags
  • Hooks
  • Handles
  • Adapters
  • Commands
  • Codes
DocsOptions

Option

images of project

What the image door answers.

Value

{ widths, formats }: a list of whole numbers, and a list of 'avif' and 'webp' in the order they are tried. Left out, the widths are 320, 640, 960, 1280, 1920 and 2560, with both formats.

Example

TypeScript
export const shop = project('shop', {
  images: { widths: [320, 640], formats: ['avif', 'webp'] },
})

See also

word.project

On this page

  • Value
  • Example
  • See also
Forjr
DocsBlogReleasesGitHub
Forjr
  • Getting started
  • Core ideas
  • Data
  • Screens
  • Work
  • Testing
  • Running an app
  • Building on Forjr

Reference

  • Words
    • action
    • agent
    • allow
    • anyone
    • asset
    • avg
    • backfill
    • between
    • boolean
    • calc
    • caller
    • ceil
    • change
    • choice
    • chunks
    • col
    • command
    • component
    • concat
    • contains
    • count
    • cron
    • date
    • day
    • dayOf
    • declared
    • del
    • each
    • earlier
    • emit
    • evals
    • event
    • every
    • expect
    • fail
    • file
    • fingerprint
    • floor
    • flow
    • get
    • given
    • incoming
    • input
    • join
    • json
    • judge
    • later
    • least
    • link
    • list
    • lower
    • max
    • message
    • messages
    • min
    • model
    • most
    • noOtherPeople
    • noPersonal
    • now
    • number
    • object
    • optimistic
    • patch
    • post
    • project
      • api
      • backups
      • build
      • cache
      • cli
      • cookies
      • countBy
      • currency
      • describeTo
      • files
      • head
      • history
      • hold
      • hosts
      • html
      • icon
      • identify
      • images
      • languages
      • limits
      • mail
      • mcp
      • onRequest
      • privateHosts
      • publish
      • python
      • redirects
      • release
      • removed
      • roots
      • settings
      • signInPath
      • state
      • title
      • trace
      • trailingSlash
      • unlock
      • uploads
      • vitals
      • was
      • workers
      • zone
    • put
    • python
    • query
    • random
    • range
    • read
    • request
    • role
    • round
    • route
    • s3
    • sameSecret
    • sampleOf
    • screen
    • secret
    • seed
    • service
    • setting
    • slice
    • start
    • startsWith
    • sum
    • table
    • testApp
    • text
    • token
    • trim
    • upper
    • vector
    • verified
    • where
  • Tags
  • Hooks
  • Handles
  • Adapters
  • Commands
  • Codes