UltraBB Forums Home 
Home Search search Menu menu Not logged in - Login | Register
UltraBB Forums > UltraBB > UltraBB Pre-sales > Integrated Gallery

Welcome to the UltraBB public support forum! Did you know there is an inexpensive totally integrated gallery available for UltraBB? Read more here: Gallery Details

 Moderated by: Di Page:  First Page Previous Page  1  2  3  Next Page Last Page  
New Topic Printer Friendly
Integrated Gallery  Rate Topic 
AuthorPost
 Posted: Mon Apr 19th, 2010 10:04 am
   
21st Post
martin_wynne
Licence Holder


Joined: Sun May 25th, 2008
Location: West Of The Severn, United Kingdom
Posts: 1819
Status: 
Offline
Mana: 
User Gallery
snooze wrote:So many photos stored on people's computers are too large and its a pain having to go through the step of resizing before uploading.
Hi snooze,

You don't have to resize before uploading, the gallery resizes them to 800 wide (or whatever you set), provided they don't exceed the maximum upload size.

You can change that setting too. The problem is that the resizing function requires large amounts of memory, and to resize very large images requires massive amounts of memory. Both Robert and I had to ask Jim for permission to increase memory allocation for our boards, to allow larger size gallery uploads:

 
ini_set("memory_limit","nnn");

Normally that would mean an extra charge on the hosting cost.

regards,

Martin.

Back To Top    

 Posted: Mon Apr 19th, 2010 10:53 am
   
22nd Post
Jim
I work here


Joined: Wed Apr 11th, 2007
Location:  
Posts: 6649
Status: 
Offline
Mana: 
User Gallery
Put that at the bottom of your lib.php file before the closing tag or one of us can do it for you. About 320 is all you need for the biggest of photos.

A lot of hosts make it impossible to use ini_set. If only about 10-20 people do it it isn't a problem for the server. If you change it you will be like the 5th.

Back To Top  

 Posted: Mon Apr 19th, 2010 12:11 pm
   
23rd Post
martin_wynne
Licence Holder


Joined: Sun May 25th, 2008
Location: West Of The Severn, United Kingdom
Posts: 1819
Status: 
Offline
Mana: 
User Gallery
Jim wrote: Put that at the bottom of your lib.php file before the closing tag or one of us can do it for you. About 320 is all you need for the biggest of photos.
H snooze,

I have it currently set at 240M, and my gallery will happily resize originals at 4800 x 3600 pixels, and larger.

The limit is the total number of pixels (not the compressed file size in MB), so it's difficult to know the exact limit without a lot of trial and error. For example it will be equally happy at 9600 x 1800.

That's the same number of pixels (4800 x 3600 = 17,280,000 pixels, 17 megapixels).

A 32-bit bitmap requires 4 bytes per pixel, so simply to lay out this one image for resizing input requires 69,120,000 bytes of memory for the image data, plus the header overhead.

A lot of hosts make it impossible to use ini_set. If only about 10-20 people do it it isn't a problem for the server. If you change it you will be like the 5th.
Another reason to use Data 1 Systems. As if we needed one. :)

regards,

Martin.

Back To Top    

 Posted: Tue Apr 20th, 2010 12:03 am
   
24th Post
TVDinner
Go UCONN!


Joined: Wed May 9th, 2007
Location: North Carolina USA
Posts: 1618
Status: 
Offline
Mana: 
User Gallery
snooze wrote: I love the Gallery, it's awesome.

Two comments/questions:

Not sure if I asked this before, but is there any way of adding a re-sizing option?

I still hate Photobucket and all the dead links on my board, but it now has a really easy bulk resizing option. So many photos stored on people's computers are too large and its a pain having to go through the step of resizing before uploading.

Any suggestions?

snooze - we started a thread on our forum with a variety of free sites on the net that resize images for people easily. I would suggest you do the same thing. Yes the gallery does resize images, but I like uploading images already resized if possible.

Some that were suggested were -

http://photobucket.com/
http://www.picresize.com/
http://www.shrinkpictures.com/
http://www.resizeyourimage.com/
http://www.softpedia.com/get/Multimedia/Graphic/Graphic-Editors/Visualizer-Photo-Resize.shtml

We suggested a bunch of options and people keep suggesting more free sites for people to use.

Back To Top  

 Posted: Wed Apr 21st, 2010 02:47 pm
   
25th Post
bartmanaz
License Holder


Joined: Sun Apr 11th, 2010
Location: Sierra Vista, Arizona USA
Posts: 55
Status: 
Offline
Mana: 
User Gallery
Thanx everyone for your comments and advice.  We've added it to our forum and I'm pleased with the results.  We have excellent photographers on our forum and they've added some really cool pics of wildlife, local scenery and more.

Thanx David for the install and to all of you for your comments.

Back To Top    

 Posted: Tue Apr 27th, 2010 01:47 pm
   
26th Post
snooze
License Holder
 

Joined: Sun Mar 16th, 2008
Location:  
Posts: 147
Status: 
Offline
Mana: 
User Gallery
Jim wrote:
Put that at the bottom of your lib.php file before the closing tag or one of us can do it for you. About 320 is all you need for the biggest of photos.

Seeing as you're already poking around in there, if you can change it for me, that would be awesome, thanks. :cool:

Back To Top  

 Posted: Tue Apr 27th, 2010 02:09 pm
   
27th Post
Jim
I work here


Joined: Wed Apr 11th, 2007
Location:  
Posts: 6649
Status: 
Offline
Mana: 
User Gallery
Done

Back To Top    

 Posted: Tue Apr 27th, 2010 02:39 pm
   
28th Post
snooze
License Holder
 

Joined: Sun Mar 16th, 2008
Location:  
Posts: 147
Status: 
Offline
Mana: 
User Gallery
Uh, thanks... but my whole board went down. (White screen of death). :eek:

Back To Top  

 Posted: Tue Apr 27th, 2010 03:55 pm
   
29th Post
tanygaer
TOIDI


Joined: Mon Jun 16th, 2008
Location: Rhosgadfan, North Wales, United Kingdom
Posts: 2776
Status: 
Offline
Mana: 
User Gallery
I have removed the line and the board is back, it does not seem to like that...

Back To Top    

 Posted: Tue Apr 27th, 2010 03:58 pm
   
30th Post
snooze
License Holder
 

Joined: Sun Mar 16th, 2008
Location:  
Posts: 147
Status: 
Offline
Mana: 
User Gallery
Fussy thing! (Wonder why not?)

Thanks so much. :)

Back To Top  

 Posted: Tue Apr 27th, 2010 04:42 pm
   
31st Post
Jim
I work here


Joined: Wed Apr 11th, 2007
Location:  
Posts: 6649
Status: 
Offline
Mana: 
User Gallery
There must be another ini_set somewhere else in the code. Hard to tell at this point.

Back To Top    

 Posted: Wed May 5th, 2010 06:07 am
   
32nd Post
bhyder
License holder


Joined: Wed Aug 19th, 2009
Location: South Carolina USA
Posts: 143
Status: 
Offline
Mana: 
User Gallery
Devans wrote: Since Davids latest update, allowing users the ability to create folders, it has been used alot more on our forum. I think it is a valuable add-on and would be great if it came with Ultra at purchase.

(((Since Davids latest update, allowing users the ability to create folders,
)))


hmmmm i have the gallery installed but i cant say that iv seen any option to create folders

Am i missing an update for the gallery ?

Back To Top  

 Posted: Wed Jun 2nd, 2010 11:16 pm
   
33rd Post
snooze
License Holder
 

Joined: Sun Mar 16th, 2008
Location:  
Posts: 147
Status: 
Offline
Mana: 
User Gallery
The Gallery for me is a bit of a bust, sorry. If I have to reduce the size of the pics on my computer before uploading, I'm better off with Photobucket. My camera loads pics that are 2.5 mgs, like many people on my forum, and they're too big. Since the attempted and failed 'fix', I'm just getting blank white screens.

Can I get some info as to how the files are stored? Can I move the photos currently in the Gallery elsewhere? If so, how?

snz

Back To Top    

 Posted: Wed Jun 2nd, 2010 11:36 pm
   
34th Post
martin_wynne
Licence Holder


Joined: Sun May 25th, 2008
Location: West Of The Severn, United Kingdom
Posts: 1819
Status: 
Offline
Mana: 
User Gallery
snooze wrote: My camera loads pics that are 2.5 mgs, like many people on my forum, and they're too big.
Hi snz,

You can change the allowed file size in the Gallery Admin settings. I'm allowing up to 6MB on my gallery.

What's important is to tell your members to upload only one such large image at a time, because the limit applies to the total upload file size when making multiple uploads.

Much more problematic is the pixel size. I'm allowing up to 4800 x 3600 but it requires a massive amount of memory for the resizing functions on such large images. You need to change the memory allocation in the lib.php file, as explained by Jim.

regards,

Martin.

Back To Top  

 Posted: Thu Jun 3rd, 2010 12:04 am
   
35th Post
snooze
License Holder
 

Joined: Sun Mar 16th, 2008
Location:  
Posts: 147
Status: 
Offline
Mana: 
User Gallery
Thanks Martin, I did change it in the Admin panel and Dave also tried to change the memory allocation in the file and the whole board went down. And that was that.

Back To Top    

 Posted: Thu Jun 3rd, 2010 12:07 am
   
36th Post
snooze
License Holder
 

Joined: Sun Mar 16th, 2008
Location:  
Posts: 147
Status: 
Offline
Mana: 
User Gallery
PS: My pixel sizes are usually 3072 x 2048.

Back To Top  

 Posted: Thu Jun 3rd, 2010 12:58 am
   
37th Post
martin_wynne
Licence Holder


Joined: Sun May 25th, 2008
Location: West Of The Severn, United Kingdom
Posts: 1819
Status: 
Offline
Mana: 
User Gallery
snooze wrote: Thanks Martin, I did change it in the Admin panel and Dave also tried to change the memory allocation in the file and the whole board went down. And that was that.
Hi Snooze,

I'm sure Jim or David will fix it for you if you ask.

Note that Jim wrote:

About 320 is all you need for the biggest of photos.
He meant of course 320M.

If you set it to only 320 bytes, the board would surely go down! :)

regards,

Martin.

Back To Top    

 Posted: Thu Jun 3rd, 2010 01:47 am
   
38th Post
snooze
License Holder
 

Joined: Sun Mar 16th, 2008
Location:  
Posts: 147
Status: 
Offline
Mana: 
User Gallery
The max file size blank says 2600000.

Jim got the board working again by deleting the recommended change (done correctly by David), but he won't try again because my board has a few modifications that aren't his. He'll only help with a 'stock' board. I assume he's pointing the finger at the modifications being the problem with the failed lib.php file change.

Unfortunately our board is a big one, over 10,500 members and well established, we can't take away these features, which date back to the WowBB days when modifications were allowed. So we're at an impasse.

With UltraBB not very active, its probably best to move to a larger, more flexible company anyway given our size. But between the small size of UltraBB (hardly anybody has conversion programs for it) and the large size of our forum (moving the files is a massive undertaking), it is making it very difficult. (Blowing a chunk of our budget trying to make this work didn't help).

Which is why I'm asking about the photo gallery files in the first place. Aside from it not working for so many because of the size issue, if the pics are going to be even more difficult to move, best to let the members who do use it know and shut it down completely.

Back To Top  

 Posted: Thu Jun 3rd, 2010 05:03 am
   
39th Post
tanygaer
TOIDI


Joined: Mon Jun 16th, 2008
Location: Rhosgadfan, North Wales, United Kingdom
Posts: 2776
Status: 
Offline
Mana: 
User Gallery
The images in the photo gallery are all held in the directory gallery which is in the root. Inside the gallery directory is a directory for each contributor named from their user ID.

There is a table in the DB which collates the image name to the user ID, and a separate table which contains any folders they may have elected to use.

Hope this helps.

Back To Top    

 Posted: Thu Jun 3rd, 2010 08:14 am
   
40th Post
martin_wynne
Licence Holder


Joined: Sun May 25th, 2008
Location: West Of The Severn, United Kingdom
Posts: 1819
Status: 
Offline
Mana: 
User Gallery
snooze wrote: The max file size blank says 2600000.
Hi snooze,

So why not increase it to whatever you want?


if the pics are going to be even more difficult to move, best to let the members who do use it know and shut it down completely.
The pics are very easy to move, as David explained. Here for example is the link to a picture in my gallery, belonging to user #46 and his original upload image file:

http://85a.co.uk/forum/gallery/46/original/46_070731_180000003.jpg

To move that you simply ftp the file.

To move all his original image files, simply ftp this folder:

http://85a.co.uk/forum/gallery/46/original/

To move all his picture files, original and resized, simply ftp this folder:

http://85a.co.uk/forum/gallery/46/

(Change to your own domain of course. My folders are index protected in cPanel.)

regards,

Martin.

Back To Top  

Current time is 10:16 am Page:  First Page Previous Page  1  2  3  Next Page Last Page    
UltraBB Forums > UltraBB > UltraBB Pre-sales > Integrated Gallery Top



Hosting

UltraBB 1.17 Copyright © 2007-2011 Data 1 Systems, INC.
Page processed in 0.2755 seconds (9% database + 91% PHP). 33 queries executed.