download jpg files from web

hi,

i try to use applescript and automator to get urls of images from a website…
but when i have the url, i cannot download it with automators load url function…

the result from my applescript item is
http://interfacelift.com/dl/wallpaper/01433_sunsetonthecharles_1680x1050.jpg
and the downloaded file is allwas
01433_sunsetonthecharles_1680x1050.jpg.html with 0kb
but if i insert that link into the browser, everything is allright…
even if i pass the url without the changes in the applescript, i cannot download them…
is this an issue with automator?

Try this for a start:

set the destination_file to ((path to desktop as string) & "picture.jpg") as file specification
set thisImageSRC to "http://interfacelift.com/dl/wallpaper/01433_sunsetonthecharles_1680x1050.jpg"
tell application "URL Access Scripting"
	download thisImageSRC to destination_file replacing yes
end tell

Works for me.