Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 297
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 287
Total: 287

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

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

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

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal