Opened 12 years ago
Closed 12 years ago
#7114 closed bug (wontfix)
images size problem with GTMetrix
Reported by: | tristan_barre_riastudio | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.datepicker | Version: | 1.8.9 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
ui.datepicker generate an image with the following options : buttonImage: "/path-to-my-images-folder/calendar.png"
I use GTMetrix to test the speed of website and we found a bug. For more efficiency, we must to specify the images width and height. So the html tag wish look like : <img src="/path-to-my-images-folder/calendar.png" width="..." height="..."/>
Note: See
TracTickets for help on using
tickets.
This isn't really a bug and there's no way for us to know the size of the image ahead of time. If you need this level of control, you'll need to generate the image yourself and bind the logic for opening and closing the datepicker.