Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4260
Latest: Verrick
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 43319
Total Topics: 7526
Most Online Today: 236
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 248
Total: 248

Author Topic: Change number of images show in one row  (Read 6519 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: 16463
    • 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: 16463
    • 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: 16463
    • 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
5320 Views
Last post May 05, 2007, 10:48:14 am
by mrijs
4 Replies
5941 Views
Last post February 21, 2008, 07:49:29 pm
by SMFHacks
3 Replies
3247 Views
Last post January 06, 2016, 10:25:28 am
by SMFHacks
3 Replies
3833 Views
Last post May 26, 2019, 10:33:46 pm
by ajac63
6 Replies
1439 Views
Last post September 02, 2021, 07:35:00 am
by SMFHacks

+- Recent Topics

Attachment images Upsidedown or Sideways by SMFHacks
June 18, 2024, 10:53:24 am

JSON decode error: The maximum stack depth has been exceeded by SMFHacks
June 14, 2024, 10:15:16 pm

“Insert from Gallery” by donk
June 10, 2024, 01:26:57 pm

Pretty Urls extras by SMFHacks
May 13, 2024, 10:28:54 am

Mod question by Verrick
May 11, 2024, 02:42:50 pm

i have paid but cant download ad pro. by SMFHacks
May 02, 2024, 11:29:38 pm

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Powered by EzPortal