Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
6 registered members (Ruben, Basil, jbergmann, Geoff, Gizmo, isaac), 57 guests, and 389 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
JAISP
JAISP
Pennsylvania
Posts: 1,328
Joined: February 2007
Show All Member Profiles 
Top Posters(30 Days)
isaac 53
Gizmo 40
Geoff 32
Morgan 30
ECNet 17
Ruben 12
Mark S 11
JAISP 10
Bert 8
Latest Photos
Chinese Buddhist temple.
My buddha beads.
Rendered Walls
Multi-Screen wallpaper
Stockholm Metro
Previous Thread
Next Thread
Print Thread
Photo Gallery Customization? #226076
04/28/09 03:45 PM
04/28/09 03: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 04:09 PM
04/28/09 04:09 PM
Joined: Dec 2003
Posts: 5,839
Lutz,FL
Ruben Online yawn

Ruben  Online Yawn


Joined: Dec 2003
Posts: 5,839
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 08:56 AM
04/29/09 08: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 01:16 PM
04/29/09 01:16 PM
Joined: Dec 2003
Posts: 5,839
Lutz,FL
Ruben Online yawn

Ruben  Online Yawn


Joined: Dec 2003
Posts: 5,839
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 03:47 AM
04/30/09 03: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 09:24 PM
06/10/09 09: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
Upgrading from 7.6.0 to 7.6.1
by Baldeagle. 01/20/18 01:07 PM
Odd behavior with marking forums as read
by Baldeagle. 01/20/18 12:51 PM
Subscription Pending Auto Update to Active
by Geoff. 01/18/18 09:04 AM
7.6.1.1 Custom Tag Editor (YouTube)
by Mark S. 01/15/18 02:58 PM
Enable Spider Friendly Urls Issues
by Geoff. 01/15/18 11:32 AM
Forum Statistics
Forums36
Topics35,049
Posts190,784
Members12,051
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.1.1