Title: maxWidth/maxHeight not working with aspectRatio · Issue #143 · blueimp/JavaScript-Load-Image · GitHub
Open Graph Title: maxWidth/maxHeight not working with aspectRatio · Issue #143 · blueimp/JavaScript-Load-Image
X Title: maxWidth/maxHeight not working with aspectRatio · Issue #143 · blueimp/JavaScript-Load-Image
Description: Hello and thank you for this nice library. I noticed that setting maxWidth/maxHeight and aspectRatio together doesn't work. The image is cropped to the requested aspect ratio, but not shrunk to the specified width/height. Specifying only...
Open Graph Description: Hello and thank you for this nice library. I noticed that setting maxWidth/maxHeight and aspectRatio together doesn't work. The image is cropped to the requested aspect ratio, but not shrunk to the...
X Description: Hello and thank you for this nice library. I noticed that setting maxWidth/maxHeight and aspectRatio together doesn't work. The image is cropped to the requested aspect ratio, but not shrunk to...
Opengraph URL: https://github.com/blueimp/JavaScript-Load-Image/issues/143
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"maxWidth/maxHeight not working with aspectRatio","articleBody":"Hello and thank you for this nice library.\r\n\r\nI noticed that setting `maxWidth/maxHeight` and `aspectRatio` together doesn't work. \\\r\nThe image is cropped to the requested aspect ratio, but not shrunk to the specified width/height.\r\n\r\nSpecifying only one works (only aspectRatio =\u003e image cropped, only maxWidth/maxHeight =\u003e image shrunk).\r\n\r\nIs that the intended behavior or a bug?","author":{"url":"https://github.com/anisabboud","@type":"Person","name":"anisabboud"},"datePublished":"2022-03-12T11:26:35.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/143/JavaScript-Load-Image/issues/143"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e8e00299-7f3f-f733-cca8-4342487b3a10 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8032:3381E4:2D0D3FD:3F5DB54:69710C86 |
| html-safe-nonce | 29c214b37c979f78973848f1d7491c66f89bf5de3c05e0e06a1d229214702f84 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDMyOjMzODFFNDoyRDBEM0ZEOjNGNURCNTQ6Njk3MTBDODYiLCJ2aXNpdG9yX2lkIjoiNjgzNTE0MTY1MjQ3ODIzMzczNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e96ead3b605a0a4f2c5e3da6c2f3fccc50a6ccfff994aeec5d72789dcbce6e9c |
| hovercard-subject-tag | issue:1167260924 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/blueimp/JavaScript-Load-Image/143/issue_layout |
| twitter:image | https://opengraph.githubassets.com/de5e7ad7d7d547e9af897c6cd50f22008c29f0b05e33bfd32ba41d2a2c87bb01/blueimp/JavaScript-Load-Image/issues/143 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/de5e7ad7d7d547e9af897c6cd50f22008c29f0b05e33bfd32ba41d2a2c87bb01/blueimp/JavaScript-Load-Image/issues/143 |
| og:image:alt | Hello and thank you for this nice library. I noticed that setting maxWidth/maxHeight and aspectRatio together doesn't work. The image is cropped to the requested aspect ratio, but not shrunk to the... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | anisabboud |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6d0e7b0d5e294a53c55f49e80755e785182080c6e6a48c9ed353bedddaee69f4 |
| turbo-cache-control | no-preview |
| go-import | github.com/blueimp/JavaScript-Load-Image git https://github.com/blueimp/JavaScript-Load-Image.git |
| octolytics-dimension-user_id | 244586 |
| octolytics-dimension-user_login | blueimp |
| octolytics-dimension-repository_id | 2967938 |
| octolytics-dimension-repository_nwo | blueimp/JavaScript-Load-Image |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 2967938 |
| octolytics-dimension-repository_network_root_nwo | blueimp/JavaScript-Load-Image |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6d5a3a396bc74e65fd3ef897b0a99a6e489debaa |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width