Muut Archive Legend
@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation
Badges
Recent posts
-
Can you implement a "random" feature?
· 10 years ago
You can have a user/pages/images folder, and randomize an image from that folder with page.find('/images').media.images|randomize|first Thanks for this, it works very well for the blog template. But
-
Can you implement a "random" feature?
· 10 years ago
You can have a user/pages/images folder, and randomize an image from that folder with page.find('/images').media.images|randomize|first
-
Can you implement a "random" feature?
· 10 years ago
yes from a defined folder
-
Can you implement a "random" feature?
· 10 years ago
Is this related to the topic? You want a random image from that folder?
-
Can you implement a "random" feature?
· 10 years ago
Hey, is there any possibility to set a folder, where all images are in?
-
Can you implement a "random" feature?
· 12 years ago
Thank you rhukster, Works like a charm :)
-
Can you implement a "random" feature?
· 12 years ago
Ooops, forgot the link: https://github.com/getgrav/grav/commit/aecdbaaa27fc3ba230a36e0afa56a8196cee4fae
-
Can you implement a "random" feature?
· 12 years ago
Actually in current version there is not a good way to do this. However, i've just commited a method github (quality()) that let's you do this for example: {% set blog_image = page.media.images|firs
-
Can you implement a "random" feature?
· 12 years ago
Is there a way to adjust the quality of an image? My problem is that I get big artefacts on my showcase image, caused by the automatic compression. Thanks
-
Can you implement a "random" feature?
· 12 years ago
email it to me at devs at getgrav.org