Topic: Thumbnail and Large Path for each photo

Hello is it possible to specify the imagepath and thumbnail path for each image?

As the CMS i use creates a seperate folder for each image, so I cannot specify a single folder for the images.

    <caption>Arles old town.</caption>
    <caption>Another photo.</caption>

Can anyone help me with this?