WebYep image scaling problem?

I guess this is a question for Max, but it might be something someone
else has thoughts on too.

Using Freeway and some hints from me, my wife has put together a site
that uses WebYep. It is for a local conservators group,
http://www.mitchamcommon.org/redesign/ - not yet finished, but going
well. Other than one problem.

There’s a Gallery page with small WebYep image items, set to be
‘thumbnails’ so they open a new window and show the full-size
uploaded image. That works fine, except:

The people who upload the images haven’t a clue about image sizes and
have no ability to resample photos. They’re uploading images that are
substantially larger in pixel dimensions than the average visitor’s
screen size.

The popped-open windows that show the full-size uploaded images only
manage to show a portion of the photo; the images are not scaled in
any way, they’re shown at pixel-for-pixel 100% size.

There’s JS code in the pages that size the window to the image - but
to my mind that’s actually worse than doing nothing with
extra-large images… as the sides can be scaled past the boundaries
of the screen.

To see this problem in action go here:

http://www.mitchamcommon.org/redesign/gallery.php

and try the Kingfisher image (for starters), near the bottom of the page.

Is that JS in the start of the page code really designed to scale the
window larger than the screen if the image is larger? Because that’s
what’s happening!

My ideal fix would be a script that kicked in when an image was wider
or taller than the visitor’s screen, worked out a scaling amount to
resize the image in proportion, then set that as the image scale -
and then sized the window to fit the (scaled-down) image.

Or, even better (but probably longer term) a way to specifiy a size
for an uploaded image to be resampled to IF the uploaded original
is larger than a web-designer-specified maximum.

Thoughts? Help?

k


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi keith
If you were to use the webyep gallery action then you can set the size of the pop up window to what ever size you wanted so in your scenario you could restrict the size to be say 600px wide and no more than 600px deep then any image that you uploaded would be scaled and resized to a maximum of those size but still in proportion
it would mean that you would need to swop the WebYep image to a WebYep gallery but it would at least control the uploaded images to a more reasonable size
all the bets and happy new year

max


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Keith said:

scale the window larger than the screen if the image is larger? Because that’s what’s happening!

I am not getting that with Safari or IE8 - the images are opening no larger than the available screen space. But with FF yes that is happening.

Looks like the Max’s suggestion is probably the way to go to be safe.

David


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options