Skip to content

Commit

Permalink
Update EmbedMoreImages.plugin.js to v1.4
Browse files Browse the repository at this point in the history
Update EmbedMoreImages.plugin.js to v1.4
  • Loading branch information
Knewest authored Sep 25, 2023
1 parent 77031df commit eff7db1
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions EmbedMoreImages.plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @name Embed More Images
* @author Knew
* @description Locally embeds images that are usually unembedded in the Discord client.
* @version 1.3
* @version 1.4
* @authorId 332116671294734336
* @authorLink https://github.com/Knewest
* @invite NqqqzajfK4
Expand Down Expand Up @@ -395,7 +395,7 @@ module.exports = class EmbedMoreImages {
<div class="focusLock-bHVOlV" role="dialog" aria-label="Image" tabindex="-1" aria-modal="true">
<div class="modal-3Crloo root-1CAIjD fullscreenOnMobile-2971EC rootWithShadow-2hdL2J" style="opacity: 0; transform: scale(0); transition: transform 0.15s;">
<div class="wrapper-rWtXPd">
<div class="imageWrapper-oMkQl4 image-36HiZc" style="width: auto; height: auto;">
<div class="imageWrapper-oMkQl4 image-36HiZc" style="width: auto; height: auto; display: inline-flex;justify-content: space-around;align-content: space-between">
<img alt="Image" src="${imageSrc}" class="imgEmbedMoreImages" style="max-width: 80%; max-height: 80%; width: auto; height: auto; transform: scale(1); transition: transform 0.35s;"></div>
<a class="anchor-1X4H4q anchorUnderlineOnHover-wiZFZ_ downloadLink-3cavAH" href="${imageSrc}" rel="noreferrer noopener" target="_blank" role="button" tabindex="0" style="position: absolute; bottom: 0; left: 150px;">Open in Browser</a>
</div>
Expand Down Expand Up @@ -567,17 +567,16 @@ module.exports = class EmbedMoreImages {
}

/**
* Version 1.3 of Embed More Images
* Version 1.4 of 'Embed More Images'
* Copyright (Boost Software License 1.0) 2023-2023 Knew
* Link to plugin: https://github.com/Knewest/embed-more-images
* Support server: https://discord.gg/NqqqzajfK4
*
* @changelog {banner} https://cdn.discordapp.com/attachments/753561208073879642/1134847376541106176/output_animation8.webp
* @changelog {blurb} Missed or want to know previous changelogs? Find them [here](https://github.com/Knewest/embed-more-images/releases).
* @changelog {fixed.item} The context menu now appears above the image instead of under everything.
* @changelog {fixed.item} The modal is not correctly positioned. Sorry this took so long to address.
* @changelog {added.title} What I changed
* @changelog {added.item} Replaced deprecated API functions with new ones.
* @changelog {added.item} Began utilising the '@changelog' metadata.
* @changelog {added.item} Functionally? Nothing.
* @changelog {footer} Need help? Join my the [support server (NqqqzajfK4)](https://discord.gg/NqqqzajfK4).
* @changelog {progress.item} I plan to add SVG support soon.
* @changelog {progress.item} I plan to add the ability to unload/unembed an image by clicking an arrow next to the image.
Expand Down

0 comments on commit eff7db1

Please sign in to comment.