No errors, it just does not resize?
Am i doing something wrong?
In the variable MugShot exists the imagename.jpg
The code does place the image as backgroundPattern of graphic "VieuwMugShot" of this card .
Code: Select all
put the width of image MugShot of card "MugShots" into tiWidth
put the height of image MugShot of card "MugShots" into tiHeight
put the width of graphic "VieuwMugShot" of this card into tgWidth
put the height of graphic "VieuwMugShot" of this card into tgHeight
set the Width of image MugShot of card "MugShots" to tgWidth
set the Height of image MugShot of card "MugShots" to tgHeight
set the backgroundPattern of graphic "VieuwMugShot" of this card to the id of image MugShot of card "MugShots"