Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4219
Latest: Toddie
New This Month: 2
New This Week: 0
New Today: 0
Stats
Total Posts: 42829
Total Topics: 7462
Most Online Today: 66
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 50
Total: 51

Author Topic: Change number of images show in one row  (Read 6190 times)

0 Members and 1 Guest are viewing this topic.

Offline dvera

  • Member
  • *
  • Posts: 5
    • View Profile
Change number of images show in one row
« on: November 28, 2006, 07:21:33 pm »
I installed the Pro version but I don't know where I can change the number of photos in one row, it always show 4 photos per row.
I tried searching in Gallery.Template.php without success.


Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16247
    • View Profile
Re: Change number of images show in one row
« Reply #1 on: November 28, 2006, 08:14:50 pm »
Currently there is no setting yet for it.
But you can adjust in Gallery.template.php
Find
Code: [Select]
$maxrowlevel = 4;There are a couple instances of that code adjust where needed.
On line 71 is the code for category row listing.

You can change it to any number but 4 currently looks the best.


Don't forget to upgrade your account to access more forums as well
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline dvera

  • Member
  • *
  • Posts: 5
    • View Profile
Re: Change number of images show in one row
« Reply #2 on: November 29, 2006, 05:35:20 pm »
Thanks for you reply.

We made the thumbnails a little bigger and we have the tinyportal integrated.. so it looked a little bit colapsed  ;)

if you want to take a look http://dpcmx.net/portal/index.php?action=gallery

see ya

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16247
    • View Profile
Re: Change number of images show in one row
« Reply #3 on: November 29, 2006, 05:53:39 pm »
That is a good looking size you are able to see the the detail in the photos well.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline yosemite

  • Member
  • *
  • Posts: 19
    • View Profile
Re: Change number of images show in one row
« Reply #4 on: November 29, 2006, 06:37:33 pm »
is this the Gallery.template.php found in themes/default?

where did he change the thumbnail size?

thanks

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16247
    • View Profile
Re: Change number of images show in one row
« Reply #5 on: November 29, 2006, 06:42:00 pm »
Gallery.template.php is found in the default themes folder.


The thumbnail size is a setting in the Settings page called "Max thumbnail width:" and "Max thumbnail height:"
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
2 Replies
5059 Views
Last post May 05, 2007, 10:48:14 am
by mrijs
4 Replies
5284 Views
Last post February 21, 2008, 07:49:29 pm
by SMFHacks
3 Replies
2261 Views
Last post January 06, 2016, 10:25:28 am
by SMFHacks
3 Replies
2710 Views
Last post May 26, 2019, 10:33:46 pm
by ajac63
6 Replies
933 Views
Last post September 02, 2021, 07:35:00 am
by SMFHacks

+- Recent Topics

[Mod]GDPR Helper by SMFHacks
Today at 01:50:14 pm

RSS Feed Poster Database Error by SMFHacks
May 22, 2023, 06:26:18 pm

Errors With Older Version. by Ken.
May 09, 2023, 05:35:40 pm

Pretty Urls SEO Pro by SMFHacks
May 06, 2023, 03:30:11 pm

New Post Image Upload Error by Mike66
April 28, 2023, 07:30:28 am

Copyright Removal Key by SMFHacks
April 03, 2023, 02:44:28 pm

Converting from Aeva Media by sudhakar
April 02, 2023, 11:09:54 am

Using SMF's Built-in Search Algorithm by shuban
March 27, 2023, 09:15:10 am

Permissions query by davejo
March 26, 2023, 04:43:48 am

prettyurls - TroubleShooting.wiki by SMFHacks
March 25, 2023, 01:49:35 pm

Powered by EzPortal