Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43295
Total Topics: 7523
Most Online Today: 344
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 220
Total: 220

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

+- Recent Topics

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

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

Powered by EzPortal