Bug Tracker

Opened 11 years ago

Closed 11 years ago

#5562 closed bug (invalid)

Can not get image size

Reported by: zivyuan Owned by:
Priority: major Milestone: 1.4
Component: core Version: 1.3.1
Keywords: image, img, width, height Cc:
Blocked by: Blocking:

Description

If a image in a conatiner which css property "display" set as "none", we can use the $.height() and $.width() to get the right value. I tried to use .attr() method instead but get undefined. At last I use the css property to fix the problem.

Change History (1)

comment:1 Changed 11 years ago by jdsharp

Resolution: invalid
Status: newclosed

This is not a bug

Note: See TracTickets for help on using tickets.