mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-12 07:39:07 -04:00
The photo view page caches the dimensions of the full size and then renders it in Javascript. But after rotation, those dimensions are no longer valid. Create a new function on the items controller that returns the appropriate dimensions, then add a hook on $.gallery_replace_image and implement the hook on the photo view page to have it make an async call to get the new dimensions. Fixes ticket #1317
1.9 KiB
1.9 KiB