Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
4 registered members (Gizmo, Ruben, isaac, Larry Miller), 95 guests, and 215 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
TGCsanderson
TGCsanderson
Hackleton, U.K.
Posts: 78
Joined: September 2007
Show All Member Profiles 
Top Posters(30 Days)
isaac 19
Gizmo 18
Ruben 18
Morgan 6
Alento 3
M4TT 2
driv 2
Latest Photos
Test
Testing to drag photos
Comfortable Cats
Test
BSA photos
Previous Thread
Next Thread
Print Thread
Photo Gallery Customization? #226076
04/28/09 04:45 PM
04/28/09 04:45 PM
C
cpohelen  Offline OP
stranger
Joined: Apr 2009
Posts: 12
Does anyone know if it is possible to customize the layout of the photo gallery in UBB? Right now I see three across and the paging starts at 15 posts. Can this be modified at all?

One other question about customizing - is there any way to modify the alignment? I have different size photos going in so the text info boxes are all sitting on the page in different positions because the lines are aligned by teh top of the image?

Thanks for helping!
Helen

Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
Re: Photo Gallery Customization? [Re: cpohelen] #226077
04/28/09 05:09 PM
04/28/09 05:09 PM
R
Ruben  Online Yawn

Joined: Dec 2003
Posts: 5,938
Lutz,FL
I never really noticed this before but you are correct. There is not a method to set the paging.
And the thumbnails alignment is not selectable. So if you have vertical photos and horizontal photos, there is not a selection to align them to the top bottom or centered.


Blue Man Group


There is no such thing as stupid questions. Just stupid answers
Re: Photo Gallery Customization? [Re: Ruben] #226094
04/29/09 09:56 AM
04/29/09 09:56 AM
C
cpohelen  Offline OP
stranger
Joined: Apr 2009
Posts: 12
Thanks Ruben - hopefully this will be something that is added at some point. I think aligning would make the gallery look more uniform. Right now it looks like I threw a bunch of photos in a box!

Re: Photo Gallery Customization? [Re: cpohelen] #226097
04/29/09 02:16 PM
04/29/09 02:16 PM
R
Ruben  Online Yawn

Joined: Dec 2003
Posts: 5,938
Lutz,FL
I did happen to find where the 15 posts per page is set.
edit file postlist.inc.php
around line 372 you will see it is set to 15 posts.

Remember modifications are not supported on this site.


Blue Man Group


There is no such thing as stupid questions. Just stupid answers
Re: Photo Gallery Customization? [Re: Ruben] #226145
04/30/09 04:47 AM
04/30/09 04:47 AM
Flaming Carrot  Offline
journeyman
Joined: Oct 2005
Posts: 52
United Kingdom
Regarding vertical spacing, you could wrap the thumbnails in a fixed height div to correct this. You need to edit template 'gallerylist.tpl', line 121, example as follows...

Code
<div style="height:135px;padding:10px 0;"><a href="{ubb url="ubb=showgallery&Number=`$postrow[topic].Number``$postrow[topic].goto`" title=$postrow[topic].SubjectClean}">{$postrow[topic].Subject}</a></div>


I use a similar method on my site...
Example here

Re: Photo Gallery Customization? [Re: Flaming Carrot] #227109
06/10/09 10:24 PM
06/10/09 10:24 PM
C
cpohelen  Offline OP
stranger
Joined: Apr 2009
Posts: 12
Thanks. With so many problems with our site I haven't been able to get to this. So, I will take a look and see if I can fix this. Thanks guys.


Shout Box
Today's Birthdays
No Birthdays
Recent Topics
image test
by JPG. 10/21/18 10:06 AM
Upgrade from a really really old version
by Alento. 10/18/18 06:16 PM
Subscription Feature
by M4TT. 10/16/18 09:34 PM
PHP 7.2 compatibility
by Pak. 10/16/18 06:00 PM
UBB.threads 7.7.0 - Progress Reports
by isaac. 10/13/18 09:34 AM
Forum Statistics
Forums36
Topics35,152
Posts191,522
Members12,109
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.2