fancybox icon indicating copy to clipboard operation
fancybox copied to clipboard

Animation when the size gets adjusted between images in Version 2?

Open petze opened this issue 14 years ago • 14 comments

Hi,

I am using the 2nd version of FancyBox. In FancyBox 1, I really loved the feature that when you browse through multiple images in a gallery, there was this short transition between 2 images where the size of the wrapper got adjusted just before showing the new image. Is this little animation still in the new version?

.

petze avatar Jan 26 '12 15:01 petze

Hi,

Many people (including myself) dislike transforming animations -

  • users are wasting time waiting, specially if images changing from very small to very large
  • it is boring and annoying to look at the white background while animating

So, version 2 was designed to get rid of these animations and now users can navigate through galleries really fast (if images are loading fast enough, of course)

fancyapps avatar Jan 26 '12 15:01 fancyapps

Ok, no problem, thanks for clearing that up.

petze avatar Jan 26 '12 16:01 petze

Any way of incorporating this transition effect on our own? Any references would be great.

grex84 avatar May 03 '12 22:05 grex84

Well, this is a little trick to archive similar functionality - http://jsfiddle.net/6AYkT/

fancyapps avatar May 04 '12 17:05 fancyapps

Much appreciated!

grex84 avatar May 05 '12 14:05 grex84

Upon further examination of the results. It seems that when you have a portrait image that resizes into a landscape image there is a little jump that happens. It is like it doesn't start with the previous images size to transition to the next. Is this an easy fix?

grex84 avatar May 06 '12 19:05 grex84

You can also see it in the example you posted

grex84 avatar May 06 '12 20:05 grex84

I don`t see any jumping that should be fixed.

fancyapps avatar May 08 '12 08:05 fancyapps

It only happens from profile photo to a landscape photo. If you look at the top of the picture, it resizes and positions smoothly. The bottom of it doesn't, it jumps to the position immediately. I would like this to be a smooth resize but I have no idea how this works. I prefer your product over the others and would be willing to purchase the multi license for fancybox but this is a necessity for my decision. Here is a link to a site with a working example. http://www.mattodomcreative.com/portraiture2/

Your help is greatly appreciated

grex84 avatar May 09 '12 01:05 grex84

Check if this works better - http://jsfiddle.net/6AYkT/1/

fancyapps avatar May 09 '12 08:05 fancyapps

That is perfect! Thanks alot!

grex84 avatar May 09 '12 12:05 grex84

The updated version fixes fast navigation issue - http://jsfiddle.net/6AYkT/3/

fancyapps avatar May 25 '12 05:05 fancyapps

Thanks again

grex84 avatar May 25 '12 11:05 grex84

The latest fancybox version 2.1.4 breaks this. I know you don't support this feature but is there perhaps an easy fix for this?

grex84 avatar May 22 '13 01:05 grex84