Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP library returns wrong image path for toImage #22

Closed
rovansteen opened this issue Apr 17, 2020 · 2 comments
Closed

PHP library returns wrong image path for toImage #22

rovansteen opened this issue Apr 17, 2020 · 2 comments

Comments

@rovansteen
Copy link

rovansteen commented Apr 17, 2020

Both toImage and shortnameToImage return a path that returns an S3 AccessDenied error.

(new \JoyPixels\JoyPixels())->getClient()->toImage(':smile:')

Returns:

<img class="joypixels" alt="&#x1f604;" title=":smile:" src="https://cdn.jsdelivr.net/joypixels/assets/5.5/png/32/1f604.png"/>

https://cdn.jsdelivr.net/joypixels/assets/5.5/png/32/1f604.png

I'm using the latest version (5.5.0)

@caseyahenson
Copy link
Contributor

This has been corrected in the just-released 5.5.1, with the missing url parameter /unicode now included. Thank you, and let me know how it's working for you.

@rovansteen
Copy link
Author

Cheers, seems to be working fine!

mweghorst added a commit to mweghorst/emoji-toolkit that referenced this issue Aug 11, 2020
Fixed AccessDenied error due to missing url parameter (see joypixels#22)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants