Topic: Image sizing with SimpleViewer/Flickr

Hi,

Im trying to use the SimpleViewer V2 with my flickr. everything works well, except for one thing:

I want the images to display in maximum 800 wide, and 600 hight. which mean - i want it to resize each one of the photos so it wont exceed those sizes.

Right now, when i shows landscape images - it looks ok. but when i have tall/portrait pictures, it crops it and i get only the middle.

I tried this:
    maxImageWidth="4288"
    maxImageHeight="4288"

and i tried this:
    maxImageWidth="800"
    maxImageHeight="600"

but it wasnt working.

also tried this:
swfobject.embedSWF("simpleviewer.swf", "flashContent", "800", "600", "9.0.124", false, flashvars, params);

but it didnt help....

How can i automate resizing?

Thanks!

Re: Image sizing with SimpleViewer/Flickr

Have you tried imageScaleMode or flickrImageSize? For further support please post the url of the gallery that is having the issue.

http://www.simpleviewer.net/simpleviewe … #mainimage

http://www.simpleviewer.net/simpleviewe … tml#flickr

Mike Richards
SimpleViewer Support Team.

Re: Image sizing with SimpleViewer/Flickr

I tried those 2 things now, but it didnt work.

Here you can see the problem, you'll see that some of the images get cropped.
http://tinyurl.com/yb5latt

I have Simple Viewer V2. Not Pro.
(I posted this topic in the right forum, but it got moved to this one).

Thanks!

Re: Image sizing with SimpleViewer/Flickr

When using 'galleryStyle' of 'COMPACT', the imageScaleMode is set to 'FILL'. This means the image is scaled up to fill the image area dimensions. An image that has a different aspect ratio to the image area dimensions will be cropped to fit. The image area dimensions are defined by the 'maxImageWidth' and 'maxImageHeight'.

There are 3 solutions to this:

  • To avoid cropping with COMPACT mode, use images that have the same dimensions as the image area.

  • Use 'galleryStyle' of MODERN or CLASSIC, which uses imageScaleMode of 'SCALE' meaning it scales large images down to fit the Image Area while maintaining the aspect ratio.

  • SimpleViewer-Pro allows you to define the 'imageScaleMode' config option separately.

Felix Turner
SimpleViewer Support Team.

Re: Image sizing with SimpleViewer/Flickr

Added to the FAQ here: http://www.simpleviewer.net/simpleviewe … #general_4

Felix Turner
SimpleViewer Support Team.

Re: Image sizing with SimpleViewer/Flickr

Hi,

i've got a similar problem with the size of flickr images.

My gallery:
http://www.nefkom.net/buehner/

Problem: Why are the images so small? The area should be big enough (please look at the source code), my *.xml file looks like this:

galleryStyle="MODERN"
....
maxImageWidth="3000"
maxImageHeight="3000"

i've got not the pro version and now absolutely no more ideas sad

can you help me?

Last edited by pfoto (2010-01-22 16:27:49)

Re: Image sizing with SimpleViewer/Flickr

The size of the images from Flickr depends on the image size you uploaded to flickr. In your case it looks like you only have small images uploaded.

Felix Turner
SimpleViewer Support Team.

Re: Image sizing with SimpleViewer/Flickr

Hi,

all my images on flickr are available on 1030 x 683 or more. But only contacts can download or see all sizes. Should i change this setting?

But the images of user nikon25 are in the same settings as mine and his gallery shows them correctly?!

edit: changed the settings (all sizes on flickr available for everybody), problem still exists sad

Last edited by pfoto (2010-01-22 18:32:21)