We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
As I see getThumbnail() function, it doesn't accept width and height as argument, Can anyone guide me how can I set the width and height of the image?
getThumbnail()
$video_path = $path . '/' .$filename; $thumbnail_path = public_path().'/uploads/tutorial-thumbnails'; $thumbnail_filename = $originalFilenameWithExt . '.jpg'; $time_to_image = 1; $thumbnail_width = 320; $thumbnail_height = 240; $thumbnail = new Thumbnail(); $thumbnail_status = $thumbnail->getThumbnail($video_path, $thumbnail_path, $thumbnail_filename, $time_to_image);
Thanks in Advance
The text was updated successfully, but these errors were encountered:
You can configure it in .env file . You can refer here
.env
Set the following in .env file
#Thumbnail image dimensions THUMBNAIL_IMAGE_WIDTH = 320 THUMBNAIL_IMAGE_HEIGHT = 240
Sorry, something went wrong.
When i set the #Thumbnail image dimensions THUMBNAIL_IMAGE_WIDTH = 320 THUMBNAIL_IMAGE_HEIGHT = 240
Then the thumb image show in comprise mode. But i want to need original size with water mas
How can i do it
With the water mas and image dimension:-
Without water mas
Could you check whether the image that is using for watermark has opacity / blur radius !
No branches or pull requests
As I see
getThumbnail()
function, it doesn't accept width and height as argument,Can anyone guide me how can I set the width and height of the image?
Thanks in Advance
The text was updated successfully, but these errors were encountered: