Thanks for your response! I followed your instructions and it`s working now.
Currently it crops the images to a fixed frame. Can the cropping be avoided?
Can it present whole images? Of course this will mean that images will have different shapes and sizes instead of fitting into a precise frame but that is what I am looking for.
Thank you for your time and patience!