forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: yacenty on November 08, 2006, 05:54:46 pm

Title: How to resize all pictures in gallery?
Post by: yacenty on November 08, 2006, 05:54:46 pm
Hi guys I've terrible problem, my gallery is growing and growing and growing, last month we used 150 gb of bandwidth for me its terrible ammount.
I have to reduce this value, I think that the easiest way is to scale down all pictures. At this moment max size of pictures is 1024x768, now I would like to set it to 800x600.
Is it possible to reduce all pictures that are bigger than 800x600? Please don't tell me to do it manually because my gallery has above 6k pictures
Best regards,
YacentY
Title: Re: How to resize all pictures in gallery?
Post by: Farnsi on November 08, 2006, 06:12:15 pm
have a look at the admin tools. there is this option where you can update the imagessize.
first change your settings here: http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#admin_picture_thumbnail

than run the admin tool picture resizing. if you use stramms modpack than you don`t have to sit and watch and klick the whole time because it provides the function: "Admin tools auto refresh (update images/ thumbs without the need to permanently click the continue button)" http://forum.coppermine-gallery.net/index.php?topic=28367.0
Title: Re: How to resize all pictures in gallery?
Post by: Joachim Müller on November 08, 2006, 07:14:29 pm
Be warned though: resizing on the server eats up a lot of resources - make sure that the process described by Farnsi won't make your site exceed it's CPU quota; some webhosts may be picky about this.
Title: Re: How to resize all pictures in gallery?
Post by: yacenty on November 08, 2006, 08:30:04 pm
thanks for remark, I've to try.
best regards,
YacentY
Title: Re: How to resize all pictures in gallery?
Post by: yacenty on November 09, 2006, 09:47:47 am
that soultion doesn't work in my gallery :(
it took me about 4-5 hours and there is a lot of pictures n 1024x768 resolution :(
My settings:
 Files and thumbnails settings-> Max width or height for uploaded pictures/videos (pixels)  - 800

Admin tools:
Update thumbs and/or resized photos (1) -> Everything... full sized, resized and thumbs

What am I doing wrong?

Best regards,
YacentY
Title: Re: How to resize all pictures in gallery?
Post by: Nibbler on November 09, 2006, 02:08:30 pm
That is not the correct setting. You need to change 'Max width or height of an intermediate picture/video'
Title: Re: How to resize all pictures in gallery?
Post by: yacenty on November 09, 2006, 02:27:10 pm
but i would like to resize only big pictures, medium size is 400pixels and this is acceptable for me.
Am I clear? I think that this approach give me big reduction of bandwidth, Am I wright?
best regards,
YacentY
Title: Re: How to resize all pictures in gallery?
Post by: Nibbler on November 09, 2006, 02:41:14 pm
That is not an option.
Title: Re: How to resize all pictures in gallery?
Post by: yacenty on November 10, 2006, 12:07:40 am
I do not understand:(