My images are saved in folder
sites/all/default/files/styles/large/public/field/image
But to make this future save i dont want to hardwire the path? Is there a drupal function to get the images in a proper way? I played around with
image_style_url(uri)
But i just need the default dir to pass it to javascript, I dont have image uris yet...
Thanks a lot!