Kategorien
Schlagworte
Favoriteneinträge
Getting an e-Commerce website online might sound like a huge undertaking,...
WebView displays web pages. But we are interested not only in web-content...
Google Maps is a very famous and helpful service, which firmly entrenched...
RSpec is an integral part of Test Drive Development (TDD) and its main id...
When developing a web application that extensively works with user input ...
Field configuration defines behavior of all standart (system) fields and ...
As you might have already heard, the latest stuff for upgrading rails was...
In the LocomotiveCMS such assets as images are available as well. Often while uploading an image via admin panel user needs to crop/resize an image. In this post we provide several examples how to do achieve it easily.
So, here bellow there are several variants how to do it even in LocomotiveCMS:
1. Some Liquid filters will allow you to format your entries attributes.
Resize image:
An image rendered from a file's field is done this way:
<img src="{{ item.attached.url }}">
But the the DragonFly gem can resize any image on the fly behind the scene. The ...