Welcome, Guest. Please login or register.

Author Topic: Album Picture Limits  (Read 5210 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline PiruTopic starter

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Album Picture Limits
« on: May 17, 2009, 02:24:22 PM »
Code: [Select]
Maximum File Size per Picture   97.7 KB
Maximum Picture Dimensions 600 by 600 Pixels

That sucks IMHO.

Could the limits be made more sensible?
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Album Picture Limits
« Reply #1 on: May 17, 2009, 02:26:40 PM »
That is a bit weak. I wonder how much storage the old gallery images require between them?
int p; // A
 

Offline RRunner

  • Full Member
  • ***
  • Join Date: Mar 2007
  • Posts: 205
    • Show only replies by RRunner
Album Picture Limits
« Reply #2 on: May 17, 2009, 02:29:04 PM »
Quote from: Piru;454611
Code: [Select]
Maximum File Size per Picture   97.7 KB
Maximum Picture Dimensions 600 by 600 Pixels

That sucks IMHO.

Could the limits be made more sensible?


Yea, it is a little limiting. I uploaded a screen capture of the old site and had to size it down to 600 x 600 which makes it very hard to see. :(
-=>The RoadRunner<=-
A2000 030/40Mhz, 8Mb RAM, 1GB HD
AmiKit
 

Offline GadgetMaster

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2177
    • Show only replies by GadgetMaster
Album Picture Limits
« Reply #3 on: May 17, 2009, 02:30:23 PM »
Quote from: Karlos;454614
That is a bit weak. I wonder how much storage the old gallery images require between them?

Maybe it is a default setting and  needs to be tweaked yet.

If it is server space issues I wonder if the gallery can be hosted externally like on FliKR or something and linked to like people do with youtube vids.

[EDIT]

Her's one way to do it:

http://www.internaldrive.com/2009/04/30/integrating-flickr-with-vbulletin/
« Last Edit: May 17, 2009, 02:33:13 PM by GadgetMaster »
 

Offline Wayne

Album Picture Limits
« Reply #4 on: May 17, 2009, 05:49:31 PM »
Quote from: Piru;454611
Code: [Select]
Maximum File Size per Picture      97.7 KB
Maximum Picture Dimensions         600 by 600 Pixels
That sucks IMHO.

Could the limits be made more sensible?
Ok,

I just figured out that part of my problem with my recent "grumpyness" is stress.  The other part is that I don't respond well to passive aggressive, which the original post in this thread is.

That being said, I've changed the defaults to 1280 x 1024 / 300000 bytes.

With each person being able to upload 100 images, let's put that into perspective:

300,000 bytes x 100 = 30 megabytes of storage for each person's private album.

With over 900 active users, 900 x 30 megabytes is 27 Gigabytes.

I suck at math, but I believe that's right.  Anyway....

Should this become a problem for the site, we have three solutions:

1) Make private albums only available to VIP / Donors to the site (you know, the people who actually pay for the bandwidth)

2) Disable private albums altogether.

3) Increase the monthly donation needs to cover a dedicated server with sufficient hard drives not to care any more.

(Since #3 still requires donors, providing freebie amounts of space to people who don't donate doesn't make a lot of sense to me).

I had hoped we could use them as a great way to keep our members happy, but we'll need to just wait and see how things go.

Wayne
//* Signature Free *//
 

Offline RRunner

  • Full Member
  • ***
  • Join Date: Mar 2007
  • Posts: 205
    • Show only replies by RRunner
Album Picture Limits
« Reply #5 on: May 17, 2009, 06:05:58 PM »
I'm just thinking out loud here...

One solution may be to create an "Image Gallery" forum. Each "topic" would be for an image post. Instead of hosting the pictures here, the pictures could be linked to an outside photo source. There are LOTS of free and reliable image hosting sites such as the previously mentioned Flickr. If Flickr is utilized, an "Amiga.org" photo pool could be set up that users could add images to. A widget could be created on the home page that randomly shows images from this pool. Not sure how difficult that would be though.

Pros:
- Easy to implement, just add a forum called "Image Gallery"
- Image storage is external so no extra space needed

Cons:
- Users need external accounts to image hosting sites
- Posting an image to the "gallery" is a multi-step process (upload to hosting site then post here)
- Lack of control over the external images... if the external site goes down or its structure changes, the image links may break completely
-=>The RoadRunner<=-
A2000 030/40Mhz, 8Mb RAM, 1GB HD
AmiKit
 

Offline PiruTopic starter

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Album Picture Limits
« Reply #6 on: May 17, 2009, 06:13:36 PM »
I tried to upload a picture somewhere else but it complained it wasn't in my user gallery, so it would not add it. That's a bit weird IMO. Personally I don't need any galleries for myself, I just wanted to add the picture elsewhere. It could well be that I don't quite know how to use the new board yet. Ah, this was it:
Quote
You may add pictures to this group from your albums. Paste the URL of each picture you want to add on a separate line. Alternatively, you can add pictures to this group by first viewing them in your albums and then selecting "Add Pictures to Group".
Why the pictures need to be put to some private user album before they can be posted in groups is beyond me. This doesn't quite make sense IMO.

As for the passive aggressive. I'm sorry if it came out that way, it wasn't intended as such. It was meant to be plain observation of facts.

Now, I must add that you guys have done excellent job moving a.org to the new CMS. Such work is never easy, and it for sure generates tons of stress. However, this forum is called "Suggestions and Feedback", and this is what I used it for.
« Last Edit: May 17, 2009, 06:31:10 PM by Piru »
 

Offline freqmax

  • Hero Member
  • *****
  • Join Date: Mar 2006
  • Posts: 2179
    • Show only replies by freqmax
Album Picture Limits
« Reply #7 on: May 17, 2009, 06:50:09 PM »
One solution for storage space is to remove those images that is viewed fewest times. Or send them to shrink hell ;)
 

Offline cv643d

  • Hero Member
  • *****
  • Join Date: May 2003
  • Posts: 1197
    • Show only replies by cv643d
Re: Album Picture Limits
« Reply #8 on: June 25, 2009, 09:31:41 PM »
Hi,

I get the following error when uploading a picture (75kb 800x600 JPG).

Warning: move_uploaded_file(/home/amiga84/public_html/gallery/images/1091/1_wb41_pegasos2.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /home/amiga84/public_html/gallery/upload.php on line 171

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpOsET9y' to '/home/amiga84/public_html/gallery/images/1091/1_wb41_pegasos2.jpg' in /home/amiga84/public_html/gallery/upload.php on line 171

Is it the same problem?
Amiga articles
"New shell. It was finished a while back, but I still see bugs, haha" - SSolie
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Re: Album Picture Limits
« Reply #9 on: June 25, 2009, 09:35:14 PM »
That must have only just happened then. It's a simple directory permissions error. The directory is not currently writeable by apache.

-edit-

Bug report filed.
« Last Edit: June 25, 2009, 09:44:08 PM by Karlos »
int p; // A
 

Offline Wayne

Re: Album Picture Limits
« Reply #10 on: June 25, 2009, 10:36:32 PM »
Quote from: Karlos;513400
That must have only just happened then. It's a simple directory permissions error. The directory is not currently writeable by apache.

-edit-

Bug report filed.
"Replacing permissions on 17,407 files, please wait...."

Really, it's expectable.  The backup utilities gzip up the files, but have little to do with the CHMOD permissions on each file/directory as they're replaced, so I expect to find a few of these type problems, easily fixed, though annoying as hell.The best we can say is that "at least the swapover is done"
« Last Edit: June 25, 2009, 10:39:01 PM by Wayne »
//* Signature Free *//
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Re: Album Picture Limits
« Reply #11 on: June 25, 2009, 10:38:18 PM »
Quote from: Wayne;513402
"Replacing permissions on 17,407 files, please wait...."


That actually wouldn't take long on the commandline. +1 to bash :D
int p; // A
 

Offline Wayne

Re: Album Picture Limits
« Reply #12 on: June 25, 2009, 10:42:02 PM »
Quote from: Karlos;513404
That actually wouldn't take long on the commandline. +1 to bash :D
Nope but as a security precaution, there is no shell or telnet access.  Keeps all the kiddies out.

Wayne
//* Signature Free *//
 

Offline Wayne

Re: Album Picture Limits
« Reply #13 on: June 28, 2009, 03:22:45 AM »
There may be an image or two missing from before I figured out what was happening, but the gallery should now be back to where it was.

1) When the swapover happened, apparently some of the 16000+ files didn't get transferred, which is normal if the tech helping was using FTP without the verify option enabled.

2) The uploaded images were given the wrong CHOWN ownership, and the wrong CHMOD permissions by the system which I could not correct until the ownership issue was corrected by the techs.

I have manually re-uploaded all the images again, skipping the ones already in place.  While this took several hours, it should have replaced all the missing images, and they should now have the right permissions/ownership attached.

Leech away..
//* Signature Free *//
 

Offline buzz

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 612
    • Show only replies by buzz
Re: Album Picture Limits
« Reply #14 on: June 28, 2009, 10:09:54 AM »
Quote from: Wayne;513406
Nope but as a security precaution, there is no shell or telnet access.  Keeps all the kiddies out.


That is what passwords are for :) I'd take a commandline chmod (few seconds), over some ftp/cpanel approach anyday!