Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
1 registered members (isaac), 64 guests, and 191 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
Morgan
Morgan
Sweden
Posts: 591
Joined: June 2006
Show All Member Profiles 
Top Posters(30 Days)
Gizmo 12
Ruben 5
M4TT 4
Morgan 3
isaac 2
Latest Photos
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,903
Lutz,FL
Ruben Offline

Ruben  Offline


Joined: Dec 2003
Posts: 5,903
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,903
Lutz,FL
Ruben Offline

Ruben  Offline


Joined: Dec 2003
Posts: 5,903
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
Member being directed to "stopforumspam?"
by Lisanne. 07/14/18 10:27 AM
7.6.1.1 - Broken ReCaptcha (Not A Bug)
by M4TT. 07/01/18 06:02 PM
Control Panel / Transactions Username
by Morgan. 06/20/18 05:38 AM
random 500 server errors on post
by Bad Frog. 05/31/18 09:34 AM
Soft Delete Feature Suggestion
by Daryl Fawcett. 04/01/14 09:42 PM
Forum Statistics
Forums36
Topics35,125
Posts191,356
Members12,091
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.2
(Preview build 20180524)