• Gear
  • Shots
  • Photo Craft
  • Video
  • Wide Angle
  • Support
  • New Stuff
  • More
Support SmugMug Customization >>> Change SmugMug default settings <<<

FAQtoid

Ever wanted to create an Avatar? Creating an Avatar!

Searching Dgrin with Google Searching with Google

Dgrin Challenges

Congratulations to the Winner of DSS #128 (Sunrise or Sunset), ShootingStar.

The next Dgrin Challenge DSS #129 (Silhouette Revisited ) is open for entries through May 27th, 2013 at 8:00pm PDT.

As always, we look forward to your participation but please do take a moment to read through the rules before posting your entry.

Past DSS Challenge Winners, DSS Challenge Rules, and other important DSS Challenge information is here.

Need some help with Accessories?

Tutorials

Ever find yourself wondering just how someone managed to create an image using different effects?

Here are three simple tutorials we hope will encourage you to try something new.

The Hot Seat

A lifelong interest in landscape photography has led Eyal Oren to make a study of his adopted hometown of Marblehead, MA. As you can see, his dedication is paying off!

Africa!

Dgrinners Harryb, Pathfinder, and others joined Andy Williams and Marc Muench on Safari in East Africa recently. Here are some awesome threads to check out!

 
Thread Tools Display Modes
Closed Thread
Old Jul-22-2007, 08:22 AM
#1
ivar is offline ivar OP
I'd be happy with a cookie
ivar's Avatar
>>> Change SmugMug default settings <<<
This is a collection of some simple JavaScript hacks which allow you to make some changes to the default settings of your SmugMug Power user or Pro account. The code goes in the box labeled "JavaScript" on your customize page.



PHOTOBAR
  • Change the delay of the PhotoBar
    The flyout menu that appears in the SmugMug viewstyle when you hover over the main image is called the PhotoBar. Change 0 to any number of seconds you like
    Code:
    photoBarDelay = 0;
  • want it showing at the bottom of your images, instead of on the right?
    Code:
    SM.PhotoBar.config.position = 'bottom';
  • You want to eliminate the PhotoBar totally?
    (caution, funcationality is missing when you do this!)
    Code:
    showPhotoBar = false;

SIZE OF STRETCHY THUMBS
  • don't want the larger thumbnails when screens are > 1600px resolution?
    Code:
    SM.SmugMug.config.autoThumbSize = false;


SMUGMUG SMALL - VIEWSTYLE
  • Force the viewstyle to be SmugMug or SmugMug Small.
    The 'SmugMug' viewstyle changes between 'SmugMug' (15 thumbs on left, one 'M' image on right) and 'SmugMug Small' (9 thumbs on the left and one 'S' image on the right) automatically depending on the size of your viewport. You can force it to either one if you prefer.
    For 'SmugMug Small':
    Code:
    SM.SmugMug.config.size = 'small';
    For 'SmugMug':
    Code:
    SM.SmugMug.config.size = 'large';


FILMSTRIP - VIEWSTYLE
  • Do you want to change the speed of the filmstrip, or even stop it from moving?
    You can change this speed of the filmstrip using the following code. Set to '0' (zero) and the filmstrip will not move unless you hover your cursor over the filmstrip arrows:
    Code:
    filmstripMove = 1;


SLIDESHOW - VIEWSTYLE
  • Change the duration of the slideshow style (not fullscreen, for now)
    Want to change the default duration of the images in the Slideshow viewstyle? No problem! Change the number to your preferred time the image shows.
    Code:
    slideDuration = 10;


IMAGE PREVIEWS
  • Don't like the next or previous image previews?
    When you hover over 'next' or 'previous' the a preview of the next/previous image shows. Don't like them? Remove them!
    Code:
    showImagePreview = false;


LIGHTBOX
  • Removing the lightbox.
    You really do not like it? Are you sure? You can remove the lightbox completely.
    Code:
    useLightbox = false;


RIGHT-CLICK WARNING MESSAGE
  • Making a custom right-click warning message.
    The 'protection' option for the Pro-accounts comes with a standard warning message. Do you want to change it? No problem!
    Code:
    rightClickWarning = "Your warning text goes here!"


FRAME-BREAK
  • Do you want us to not break frames?
    You are on your own though! We don't guarantee the working of the shopping cart, gallery passwords, site passwords, login passwords, or anything else requiring sessions and cookies to work!
    Code:
    framesWarning=false;


MORE CONTROL FOR HOW STRETCHY PAGES STRETCH
  • You can override defaults by either giving it more or less height by adding the following:
    Code:
    SM.SmugMug.config.alterScreenHeight = -100;
__________________
Ivar
www.ivarborst.nl & smugmug
Old Sep-03-2007, 12:34 PM
#2
ivar is offline ivar OP
I'd be happy with a cookie
ivar's Avatar
These are some 'special' and cool links that you can use:

GET A RANDOM IMAGE
  • You can get a random image from a specific gallery if you use the following:
    HTML Code:
    http://www.smugmug.com/photos/random.mg?AlbumID=<albumID>&AlbumKey=<AlbumKey>&Size=<SMUGSIZE>
    where the galleryID is the number of the gallery, and the SMUGSIZE is either Ti, Th, S, M, L, XL, X2, X3, O or a custom size, such as 300x400.
__________________
Ivar
www.ivarborst.nl & smugmug
Closed Thread
Tell The World!  

Thread Tools
Display Modes

Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump