PDA

View Full Version : Force photos to large size


mpwphoto
May-01-2006, 10:53 AM
Hi,

I would like to force my photo sizes to large (or at least force the default size to large absence of any user override) and have searched dgrin for advice. I found the following java script which supposedly does this but it does not seem to have any effect (I put this code in the javascript section of my custom settings):

resizeLarge();

function resizeLarge()
{
var objForm = document.photosize_chooser;

if ((objForm) && (objForm.Size.value != 'Large'))
{
objForm.Size.value = 'Large';
objForm.submit();
}
}


Can anyone help?

Thanks,
Mark

Elysium
May-01-2006, 01:30 PM
This is code that I got from here, that worked on my site:

resizeLarge();

function resizeLarge() {
var url = window.location.href;

if (url.indexOf("/Small") + url.indexOf("/Medium") + url.indexOf("/Original") > -3) {
window.location.replace(url.substr(0, url.lastIndexOf("/")) + "/Large")
}
}

Note: I use traditional view, and this is for forcing large after you click a thumbnail, I'm not sure what gallery style you are using so it may be different.

ivar
May-02-2006, 02:00 AM
Hi,

I would like to force my photo sizes to large (or at least force the default size to large absence of any user override) and have searched dgrin for advice. I found the following java script which supposedly does this but it does not seem to have any effect (I put this code in the javascript section of my custom settings):
resizeLarge();

function resizeLarge()
{
var objForm = document.photosize_chooser;

if ((objForm) && (objForm.Size.value != 'Large'))
{
objForm.Size.value = 'Large';
objForm.submit();
}
}
Can anyone help?

Thanks,
MarkMark,

Elysium brings up a good point. In which view are you trying to resize the photos? It will not work in the 'normal' viewing styles, such as traditional, smugmug, smugmug_small, etc. It will work when viewing a single image though.

mpwphoto
May-02-2006, 10:00 AM
Mark,

Elysium brings up a good point. In which view are you trying to resize the photos? It will not work in the 'normal' viewing styles, such as traditional, smugmug, smugmug_small, etc. It will work when viewing a single image though.

I am using traditional and the code Elysium supplied seems to work fine.

Thanks for your help.

photowinz
Jul-10-2007, 02:28 PM
Is there code to force LARGE in the filmstrip view? I am not having luck with the code posted previously. My portfolios are all locked into filmstrip, and I need to force the large size for all visitors.

Thanks for your help!

muaportfolios
Mar-09-2009, 11:24 PM
Been searching and searching but everytime I find this question asked there is no response:huh Dead threads I guess? Im about to go nuts..

How to force the size to large in the filmstrip gallery showing??
If it is JS, where is that posted? Whaaaa.:cry


OR does anyone know how I can make the film strip larger and not use the single image view at all?

Not of course not this big but for example ( http://www.eoloperfido.com/portfolio.htm )



Thanks


Is there code to force LARGE in the filmstrip view? I am not having luck with the code posted previously. My portfolios are all locked into filmstrip, and I need to force the large size for all visitors.

Thanks for your help!

afarber
Oct-14-2009, 02:34 PM
I'm bumping this thread instead of starting a new one. I also am using filmstrip and would really like to force the Large size as the default.

Any way to do it??

Thanks!

jfriend
Oct-14-2009, 02:37 PM
I'm bumping this thread instead of starting a new one. I also am using filmstrip and would really like to force the Large size as the default.

Any way to do it??

Thanks! The slideshow view has replaced the filmstrip view and the slideshow view will automatically scale to the size of the window, giving you as large an image as will fit on screen.

afarber
Oct-14-2009, 03:10 PM
The slideshow view has replaced the filmstrip view and the slideshow view will automatically scale to the size of the window, giving you as large an image as will fit on screen.


Yikes. That's a bummer. I really don't love the look of the flash slideshow. It's slower and doesn't feel as well incorporated into my site. A couple big problems:

1. the 'filmstrip' in slideshow view overlaps the main image
2. the background of the slideshow is black and doesn't match the background color I set overall

Are those fixable? Is the slideshow very customizable?

See here: http://www.adamfarber.com/All-Photos/Friend-Events/Legacy-Softball-Day-08-20-09

Thanks