Issue 89: incorrent image resize on FireFox 3.0.3
Status:  Fixed
Owner: ----
Closed:  Oct 2008
Reported by kose...@gmail.com, Oct 2, 2008
What version of the product are you using? On what operating system?
nyromodal 1.2.8,
Windows XP, 
Mozila FireFox 3.0.3, 
Internet Explorer 6.0

Please provide any additional information below.
See attache.



nyro_resize.jpg
135 KB   View   Download
Oct 2, 2008
#1 ond...@le-pavon.eu
hello, i have similar problem. Images are too big (resized above image dimensions) in
Firefox 3.0.1 (Linux), Opera 9.51 (Linux). IE6 is fine.
Oct 3, 2008
Project Member #2 nyro...@gmail.com
It doesn't occur on the project page, is it?
Could you both send your HTML and CSS content and I'll investigate.
It could be a CSS setting which modify the way the modal looks.
Labels: -Type-Defect Type-Other
Oct 3, 2008
#3 kose...@gmail.com
When suffice from the archive files, open the file in a browser photos.htm and click
on the bigger picture.
Then reduce the size of the browser window and click again on the big picture.
I have it all done in the FireFox 3.0.3 and scroll bars appear.
photos.rar
296 KB   Download
Oct 14, 2008
Project Member #4 nyro...@gmail.com
Sorry for the delay.
I found the error and fixed it. I'll release a new version soon.
As a quick fix, you could update your own nyroModal version by doing this:
around line 365, you'll find:
var w = modal.tmp.width();
var h = modal.tmp.height();
setCurrentSettings({
	width: w,
	height: h,
	imgWidth: w,
	imgHeight: h
});

Just add after this this line:
setCurrentSettings({overflow: 'hidden'}, 'css', 'content');

and it'll work.

i'm currently reviewing all the remaining issue to release ASAP the new release.
Status: Fixed
Oct 20, 2008
#5 kose...@gmail.com
Thank you. It works.
Oct 22, 2008
Project Member #6 nyro...@gmail.com
The new version 1.3.0 is now released!