Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

Image displays before resizing.

  • 2 trả lời
  • 1 gặp vấn đề này
  • 18 lượt xem
  • Trả lời mới nhất được viết bởi defdaz

more options

Hi there,

When viewing responsive-designed websites I am seeing the image being shown momentarily at full size before scaling down to the size needed. Example:

https://www.storedj.com.au/products/CHA-NIMBUS

The main image is shown at full size and then adjusts down to fit the intended area.

This does not happen on Chrome or IE.

Is this a bug with firefox and is there a work-around? Since the image is auto-resized I cannot specify dimensions.

Hi there, When viewing responsive-designed websites I am seeing the image being shown momentarily at full size before scaling down to the size needed. Example: https://www.storedj.com.au/products/CHA-NIMBUS The main image is shown at full size and then adjusts down to fit the intended area. This does not happen on Chrome or IE. Is this a bug with firefox and is there a work-around? Since the image is auto-resized I cannot specify dimensions.

Tất cả các câu trả lời (2)

more options

This could happen if the width is indeterminate at the time the image is rendered (when the script inserts <div class="pika-stage">), in which case the image naturally would render at 100% until a subsequent step in the script, or maybe it's a slow application of CSS.

Could you try moving your CSS includes (esp. main.css) up before your pika script to see whether that makes any difference?

more options

jscher2000 said

This could happen if the width is indeterminate at the time the image is rendered (when the script inserts <div class="pika-stage">), in which case the image naturally would render at 100% until a subsequent step in the script, or maybe it's a slow application of CSS. Could you try moving your CSS includes (esp. main.css) up before your pika script to see whether that makes any difference?

That's a great idea thank you - I'll try it and let you know the outcome.