restricted max size of lightbox images