Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
0 registered members (), 49 guests, and 293 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
Gizmo
Gizmo
Portland, OR; USA
Posts: 16,906
Joined: June 2006
Show All Member Profiles 
Top Posters(30 Days)
fuzzy47 31
Ruben 28
isaac 24
Gizmo 24
Morgan 12
driv 2
Latest Photos
Testing to drag photos
Comfortable Cats
Test
BSA photos
Chinese Buddhist temple.
Previous Thread
Next Thread
Print Thread
Photo Gallery Customization? #226076
04/28/09 04:45 PM
04/28/09 04:45 PM
Joined: Apr 2009
Posts: 12
C
cpohelen Offline OP
stranger
cpohelen  Offline OP
stranger
C
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
Joined: Dec 2003
Posts: 5,882
Lutz,FL
Ruben Offline

Ruben  Offline


Joined: Dec 2003
Posts: 5,882
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
Joined: Apr 2009
Posts: 12
C
cpohelen Offline OP
stranger
cpohelen  Offline OP
stranger
C
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
Joined: Dec 2003
Posts: 5,882
Lutz,FL
Ruben Offline

Ruben  Offline


Joined: Dec 2003
Posts: 5,882
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
Joined: Oct 2005
Posts: 52
United Kingdom
Flaming Carrot Offline
journeyman
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
Joined: Apr 2009
Posts: 12
C
cpohelen Offline OP
stranger
cpohelen  Offline OP
stranger
C
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
Games
by fuzzy47. 04/24/18 09:05 PM
Backgroud colors in posts
by fuzzy47. 04/16/18 08:27 PM
Avatar Upload Issue
by fuzzy47. 04/15/18 11:58 AM
Forum database - Table prefix question
by Morgan. 04/15/18 06:45 AM
Old Forum Archives
by TGCsanderson. 04/13/18 06:05 PM
Forum Statistics
Forums36
Topics35,105
Posts191,193
Members12,070
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.2
(Preview build 20180410)