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

MediaUrl when stream is a gif #105

Merged
merged 2 commits into from
Nov 27, 2024
Merged

Conversation

andresbautista
Copy link
Member

This pull request introduces a new condition in the url method of the ThumbHelper class to handle GIF images specifically. The most important change is the addition of a check for GIF images and returning the media URL if the condition is met.

Enhancements to GIF image handling:

  • src/View/Helper/ThumbHelper.php: Added a condition to check if the object is an instance of Media and if its MIME type is image/gif, returning the media URL in such cases.

@nicolocarpignoli nicolocarpignoli merged commit fd16a0e into main Nov 27, 2024
12 checks passed
@nicolocarpignoli nicolocarpignoli deleted the use-gif-in-thumbhelper branch November 27, 2024 09:15
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

Successfully merging this pull request may close these issues.

2 participants