Comments (8)
Thank you, I will check it out!
from statamic-peak.
@robdekort removing the line source_preset: replacement
from the yaml
fixed the issue. I am not sure what the tradeoff is. But I guess I will experience it soon enough :)
Thanks for the great support, it's is very much appriciated :)
from statamic-peak.
You’re welcome. It means big images won’t get scaled down upon upload anymore and you keep the original. Which could be a 20mb image.
from statamic-peak.
Just opened a PR on the Statamic side to fix this: statamic/cms#8512
from statamic-peak.
That must be an issue in Statamic when using source_preset
on an asset container. It probably shouldn't touch gifs.
from statamic-peak.
@robdekort Thanks you for your fast reply. I am not sure what this means. When I use Statamic default feature, it does work. See below.
PS: did you see my edit?
Edit: When enable image uploading for the article bard field. So I can upload an image just by dragging an image into the editor or just clicking the image icon and inserting the animated gif, it actually does work.
from statamic-peak.
Check images.yaml
. There's a property on the asset container in Peak that uses source_preset: replacement
. This means all images uploaded to the container will get treated with this:
'replacement' => ['w' => 4500, 'fit' => 'max'],
As defined in Peak in assets.php
. This is all native functionality. If you turn off the source preset the gif will stay animated so there should be a better handling of gifs in that part of Statamic.
from statamic-peak.
Oh neat!
from statamic-peak.
Related Issues (20)
- Adding hyperlink to image component? HOT 5
- Social media - Add services HOT 3
- Script cannot load using Vite HOT 3
- Vite 4.4.0 update → build error HOT 2
- Can't save favicon in Statamic dashboard HOT 3
- Live preview error HOT 3
- Unable to insert new lines in article's pull quote component
- Blade Version of Peak starter kit HOT 1
- Cookie alert overlays mobile menu HOT 1
- Multiple Checkboxes selected at once HOT 1
- Asset fieldtype in form outputs error HOT 9
- Precognition forms don't wait on input type validation HOT 3
- Form changes HOT 1
- Button Component - Can't link to entries in a collection other than the pages collection HOT 3
- Forms with optional file not submittable HOT 1
- Contact Form submits but no success notification HOT 4
- When installing in Laragon I get a statamic.com license error HOT 6
- "DOMDocument::loadXML(): Argument #1 ($source) must not be empty" when adding Twitter to social media blueprint HOT 1
- image component using asset container on remote service: Found 1 error while validating the input provided for the GetObject operation: [Key] expected string length to be >= 1, but found string length of 0 HOT 5
- Error when cURL the packagist HOT 7
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 statamic-peak.