fix: update ShowImageModal to use fullUrl for show original image ins… - #8924
Conversation
…tead of preview Signed-off-by: mostafa khaki <mostafakhaki00@gmail.com>
|
/backport to stable34 |
|
/backport to stable33 |
|
/backport to stable32 |
|
The backport to # Switch to the target branch and update it
git checkout stable32
git pull origin stable32
# Create the new backport branch
git checkout -b backport/8924/stable32
# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts, resolve them
git cherry-pick 293206f4
# Push the cherry pick commit to the remote repository and open a pull request
git push origin backport/8924/stable32Error: Failed to check for changes with origin/stable32: No changes found in backport branch Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports. |
|
The backport to # Switch to the target branch and update it
git checkout stable33
git pull origin stable33
# Create the new backport branch
git checkout -b backport/8924/stable33
# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts, resolve them
git cherry-pick 293206f4
# Push the cherry pick commit to the remote repository and open a pull request
git push origin backport/8924/stable33Error: Failed to check for changes with origin/stable33: No changes found in backport branch Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports. |
|
The backport to # Switch to the target branch and update it
git checkout stable34
git pull origin stable34
# Create the new backport branch
git checkout -b backport/8924/stable34
# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts, resolve them
git cherry-pick 293206f4
# Push the cherry pick commit to the remote repository and open a pull request
git push origin backport/8924/stable34Error: Failed to check for changes with origin/stable34: No changes found in backport branch Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports. |
|
Manual backports starting at #8946 |
📝 Summary
Clicking an embedded image opened the modal on
currentImage.previewUrl— the1024x1024 preview, upscaled to an 80vh modal and visibly soft.
fullUrl(theoriginal, same route +
&preferRawImage=1) was already on the attachment objectand unused, so this just points the modal's
<img>at it.Inline rendering is untouched — documents still load previews, the original is
fetched only on an explicit click. Also matches
handleAttachmentClick(), whichalready uses
fullUrl/ the Viewer; the image modal was the only click-throughstill showing a preview.
🖼️ Screenshots
🏁 Checklist
npm run lint/npm run stylelint/composer run cs:check)🤖 AI (if applicable)