Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jul 2001
Posts: 1,157
Likes: 81
coffee and code
Offline
coffee and code
Joined: Jul 2001
Posts: 1,157
Likes: 81
You'll need to edit your tamplates/default/gallery_island.tpl template so that it custom displays the way you want it to display.

Right now it is displaying each image in its own table ROW

PHP Code

{section name=item loop=$items}
<
tr>
<
td class="{$style_side}alt-1" align="center">
<
a href="{ubb url="ubb=showgallery&Number=`$items[item].POST_ID`"}"><img alt="{$items[item].TOPIC_SUBJECT}" title="{$items[item].TOPIC_SUBJECT}" {$items[item].WIDTH_HEIGHT} src="{$config.BASE_URL}/gallery/{$items[item].TOPIC_THUMBNAIL}" /></a>
</
td>
</
tr>
{/
section}


Maybe update it to something like:
PHP Code

<tr>
<
td class="{$style_side}alt-1" align="center">
{
section name=item loop=$items}
<
a href="{ubb url="ubb=showgallery&Number=`$items[item].POST_ID`"}"><img alt="{$items[item].TOPIC_SUBJECT}" title="{$items[item].TOPIC_SUBJECT}" {$items[item].WIDTH_HEIGHT} src="{$config.BASE_URL}/gallery/{$items[item].TOPIC_THUMBNAIL}" /></a>
{/
section}
</
td>
</
tr>


This will make the change for all Gallery Islands.

You could add some margin to your image elements. Put a custom border around each image -- or make them round by using "border-radius: 50%;" in your image style.

Customize the code so that it works the way you want it to.


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Work In Progress: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Sponsored Links
Entire Thread
Subject Posted By Posted
Gallery formatting Bill B 03/13/2017 3:04 AM
Re: Gallery formatting isaac 03/13/2017 3:22 AM
Re: Gallery formatting Bill B 03/13/2017 5:30 AM
Re: Gallery formatting Gizmo 03/13/2017 7:04 PM
Re: Gallery formatting Bill B 03/13/2017 7:49 PM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
badfrog
badfrog
somewhere on the coast of Maine
Posts: 94
Joined: March 2007
Forum Statistics
Forums63
Topics37,569
Posts293,914
Members13,847
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,829
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 81
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2022 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Snapshot build 20220917)