Hello,
I have a shop with different product sites. Every Product site have one Image but in different sizes. So i want to resize the original image for the first time where i load the product site in different sizes and save them up in different folders.
I use this configuration for resize images:
server {
listen 80;
server_name localhost;
root /var/www/imagesrv/;
location ~/dyn_images/(?P<size>[0-9]+)/(?P<filename>.+)$ {
rewrite /dyn_images/[0-9]+/(.+)$ /dyn_images/$1 break;
image_filter resize $size $size;
image_filter_buffer 10M;
image_filter_jpeg_quality 90;
image_filter_sharpen 50;
}
}
Now i want to save the resize images in a folder. How i can do that?
I hope you can help me and sorry for my bad english ;)