wormann
02-18-2009, 09:50 PM
1) Script Title: Simple Controls Gallery v1.3
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/simplegallery.htm
3) Describe problem: I would like to use this script but I have images of varying sizes - horizontal(landscape) and vertical(portrait). I noticed in the code that the dimensions should reflect the exact size of the images as shown here.
var mygallery=new simpleGallery({
wrapperid: "simplegallery1", //ID of main gallery container,
dimensions: [250, 180], //width/height of gallery in pixels. Should reflect dimensions of the images exactly
Is there a way to use this script with different image dimensions? I would like to have a max size div container, and then have the images center to the middle of the container.
Thanks in advance if anyone can help with this.
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/simplegallery.htm
3) Describe problem: I would like to use this script but I have images of varying sizes - horizontal(landscape) and vertical(portrait). I noticed in the code that the dimensions should reflect the exact size of the images as shown here.
var mygallery=new simpleGallery({
wrapperid: "simplegallery1", //ID of main gallery container,
dimensions: [250, 180], //width/height of gallery in pixels. Should reflect dimensions of the images exactly
Is there a way to use this script with different image dimensions? I would like to have a max size div container, and then have the images center to the middle of the container.
Thanks in advance if anyone can help with this.