Comments (10)
https://drive.google.com/file/d/1W-0efGWBJ2vwJ1pSDaIyGeRWzEnPZul3/view?usp=share_link
"laravel/framework": "^9.19",
"laravel/nova": "~4.0",
"ctessier/nova-advanced-image-field": "^2.0.2",
Images:
https://drive.google.com/file/d/1x0SS6AJzRQRGwUx3NsuzFSqammr5cUAO/view?usp=share_link
https://drive.google.com/file/d/11f6mQrstQjqF2Mbpw8o7LIwEU18aTkcz/view?usp=share_link
Developing on localhost (OpenServer)
from nova-advanced-image-field.
yes
from nova-advanced-image-field.
Please try that branch and let me know: composer require "ctessier/nova-advanced-image-field":"dev-fix-unsupported-format-windows"
I couldn't reproduce as I am not on Windows but I think it might do the job.
Like you suggested in a previous comment, forcing the path seems to help, otherwise the extension cannot be resolved for some reason on Windows and ends up being tmp
, which is not supported.
I still think this is a issue with Intervention, but let's see if that workaround helps.
Thank you for your help 😉
from nova-advanced-image-field.
Hello, yes it works great
Great, thank you!
I'll try to publish a new version tonight.
Thank you again for your help!
from nova-advanced-image-field.
vendor/ctessier/nova-advanced-image-field/src/TransformableImage.php on the line 167
$this->image->save();
replaced with $this->image->save('public',80, 'jpg');
The error has gone, but there is God, does not save the cut -up picture, retains oreginal.
Use AdvancedImage::make('Photo')->croppable()
from nova-advanced-image-field.
Hello @dimalebid,
I closed your issue because it was not proven yet that it is related to the package. I was never able to reproduce it. It was raised multiple times and the same issue in the Intervention repo is still opened, meaning it was not solved on their side yet either.
Are you able to provide to me the image your are working with? Please make sure the file has a defined extension.
I cannot make the modification you suggest, as it forces the output's quality and extension.
from nova-advanced-image-field.
Hello @ctessier I am using code: AdvancedImage::make('Photo')->croppable()
https://prnt.sc/MtPKCtEz7qCk (like this). Where can I specify the image format? maybe some other code is needed to make it work properly?
from nova-advanced-image-field.
Hello @ctessier I am using code:
AdvancedImage::make('Photo')->croppable()
https://prnt.sc/MtPKCtEz7qCk (like this). Where can I specify the image format? maybe some other code is needed to make it work properly?
The way you use the package doesn't really matter. It just takes the original file and use Intervention to transform it and save it. Nothing is changed in terms of format or extension.
Do you have this error with all your images? I guess not.
A simple Google search gave me this result: https://stackoverflow.com/a/50067359/2291873
Please check your file properties (including name and MIME type).
from nova-advanced-image-field.
https://drive.google.com/file/d/1W-0efGWBJ2vwJ1pSDaIyGeRWzEnPZul3/view?usp=share_link "laravel/framework": "^9.19", "laravel/nova": "~4.0", "ctessier/nova-advanced-image-field": "^2.0.2",
Images: https://drive.google.com/file/d/1x0SS6AJzRQRGwUx3NsuzFSqammr5cUAO/view?usp=share_link https://drive.google.com/file/d/11f6mQrstQjqF2Mbpw8o7LIwEU18aTkcz/view?usp=share_link
Developing on localhost (OpenServer)
Thank you @dimalebid for all these details.
I cannot reproduce on my end (using WSL and DevContainers) but I have a trail. Is your server running on Windows?
from nova-advanced-image-field.
Hello, yes it works great
from nova-advanced-image-field.
Related Issues (20)
- Laravel Nova: Encoding format (tmp) is not supported. HOT 1
- A default cropable area HOT 1
- AdvancedImage fields not replicated
- Webp HOT 2
- Croppable undermining dimension rules
- Question: can i pass in base64 encoded data HOT 1
- Image Resize Not Working HOT 3
- Is there a way to turn off the zoom / size change in cropping? HOT 2
- Looking to make images that are cached bustable, use a query string HOT 2
- Is there a method to have multipul images per record? HOT 2
- Anyone working on a Nova 4 upgrade? HOT 7
- Can we add watermark? HOT 1
- s3 disk() function compatibility HOT 1
- JS errors HOT 2
- Encoding format (tmp) is not supported. HOT 2
- Nothing showing in nova HOT 1
- Argument 2 passed to Ctessier\NovaAdvancedImageField\AdvancedImage::transformImage() must be an object HOT 1
- Doesn't work on a hosting HOT 4
- File change doesn't work anymore from Nova v4.22.0 HOT 12
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 nova-advanced-image-field.