There are a few commands for displaying an image on a card background - CardLoadImage, CardLoadImageAbs, CardLoadImageXP and CardLoadImageXPAbs - local file, absolute file path and crossplatform local and crossplatform absolute respectively.
If you are using a lot of cards each having the same background image then the CardBankImage command is useful as only one image is held in memory.
This is the code from the BooksHC project - it uses the CardBankImage command.
Local okay,numcards,n
@ Reserve space for 1 image bank
ImageBankReset
ImageBankReserve(1)
@ Check if enough memory to load image
Put ImageBankSetSizeFN(1,640,480) into okay
If okay=1 Then
@ Load image into bank
ImageBankLoad(1,'wood1.jpg',1)
@ --- Home Card ---
CardBankImage(1,1)
@ --- Template Card 2 ---
CardBankImage(2,1)
@ --- For Player with more data cards ---
Put TotalCardsFN into numcards
If numcards>2 Then
For n=1 To numcards
CardBankImage(n,1)
EndFor
EndIf
EndIf