coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: Charles Scott on April 05, 2005, 08:47:15 PM

Title: Not showing the correct file size in the gallery
Post by: Charles Scott on April 05, 2005, 08:47:15 PM
I am using the latest version of Coppermine in standalone mode. I gave my users a total of 2048K in space allotted. When one my users tries to upload his images, it says that cannot because it will exceed his 2MB limit. When you add up his individual files, they add upto about 800k yet when I look in the control panel, it shows he is using 1917K.

Help!!

BTW, I am using GD2, not ImageMagic
Title: Re: Not showing the correct file size in the gallery
Post by: Nibbler on April 05, 2005, 08:49:03 PM
Are you counting the size of the original file + the size of the resized file + the size of the thumbnail ?
Title: Re: Not showing the correct file size in the gallery
Post by: Charles Scott on April 05, 2005, 08:50:25 PM
I don't know. When a user edits his files in Coppermine and it shows a file size, what does the file size represent? The tunmbnail? the medium image? The large image?
Title: Re: Not showing the correct file size in the gallery
Post by: Nibbler on April 05, 2005, 08:56:08 PM
That is the size of the file that the user uploaded.
Title: Re: Not showing the correct file size in the gallery
Post by: Charles Scott on April 05, 2005, 10:47:56 PM
OK, so if it is just telling the user how big the files are he uploaded, how can the user determine how much space is being taken by the thumbnails, medium images and large images? How can the user determine how much space he is using in his gallery and what is taking how much space?
Title: Re: Not showing the correct file size in the gallery
Post by: Nibbler on April 05, 2005, 10:50:07 PM
Should be displayed on their profile page.
Title: Re: Not showing the correct file size in the gallery
Post by: Charles Scott on April 06, 2005, 05:03:11 AM
Nope. Their profile just gives their name, date joined and group they are in.

You did not answer my question tho. How is the total gallery size calculated?
Title: Re: Not showing the correct file size in the gallery
Post by: Charles Scott on April 06, 2005, 03:20:26 PM
OK, I see that when the use goes to their profile, they see the amount of space their gallery is taking. Is there a way to put this information at the top of the page when they choose to "Edit" their gallery?