Comments (3)
https://image.intervention.io/v3/introduction/upgrade
I'm going to say not directly, not without going over the upgrade guide and changing a bunch of methods/service provider, maybe caching. Things like encode() are used at the very least, but you'd have to search though and find if/what needs to be changed.
https://github.com/thedevdojo/voyager/blob/7866a2d287c72b2682322d84f691974eb68c9331/src/Http/Controllers/ContentTypes/Image.php#L92C1-L95C92
from voyager.
I'm working on it, will keep you informed
I found that :
if ($file->getClientOriginalExtension() == 'heic') {
$file = $request->file('image')
$manager = new ImageManager(Driver::class);
$image = $manager->read($file);
$filename = uniqid() . time() . rand(10, 1000000) . '.jpg';
$image->toJpeg()->save('storage/images/'.$filename);
}
from voyager.
This might be hacky, but you could potentially create middleware that would catch the upload request,
Use https://github.com/MaestroError/php-heic-to-jpg
and then pass the transformed jpg on.
from voyager.
Related Issues (20)
- Multiple BREAD for single table/model HOT 1
- Update docs for voyager 1.7
- Is it possible to translate BREAD BROWSE columns? HOT 5
- Whoopsie! The "" file does not exist or is not readable. HOT 3
- media library's one of the folders is not loading HOT 3
- custom action not found on cpanel HOT 1
- How Authorize Works in Voyager and add Custom Roles? HOT 1
- Is there any way to upload the images to cloudinary or any cloud service HOT 6
- Migrate from Google Sign-In, for conection in Analytcs
- Unable to add BREAD to table HOT 5
- email_verified_at column reset to NULL HOT 1
- Laravel 11 Support HOT 9
- @can feature on menu items based on permissions
- Passing variable to view
- My Laravel Voyager admin redirect back to login page after successful login, but this issue occurs on initial login. After that it works fine.
- google analytics deprecated
- Select Dropdown using enum->value instead of enum?
- Sometimes get error 419 page expire and website is slow
- Route [voyager.posts.index] not defined
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from voyager.