Main Menu
collapse

Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

User Info

Welcome Guest.
Please log in.

Who's Online

  • Dot Guests: 1299
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]


Installation errors? Mod incompatibilities? Upgrade problems? Make your way over to the Install and Upgrade Support board for all your solutions!

Portal Image size

Started by Burke Knight, October 27, 2013, 07:54:44 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Burke Knight

I see where you can have the images in the portal resized to 300 x 300 max.
Where would I go to change it from 300 x 300 to whatever I wanted?

AngelinaBelle

That resize is a hard-coded width of 300, with the height changed proportionally.
To change this,

In file portal.js (found in Themes/default/scripts)
See function sp_image_resize()
Every place you see 300, change it to your desired new width.

This will set every image to the same width.
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Burke Knight

Thank you!
Worked perfectly!

I had looked all over, but never would have guessed it would be in the js file....LOL

AngelinaBelle

I am glad this worked.  I hope you won't mind I've marked this topic "solved".

Thanks!
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Burke Knight

Don't mind at all.
Thought I had done it, but guess I missed it this time....LOL

Thanks again. :)