Grav – Media ForceResize
Description forceResize is used to resize the image width and height; it will stretch the image as required irrespective of the original ratio. Example ![My new image](example-1.jpg?forceResize = 200,300) Output The…
Description forceResize is used to resize the image width and height; it will stretch the image as required irrespective of the original ratio. Example ![My new image](example-1.jpg?forceResize = 200,300) Output The…
In this guide, we will discuss the Substring Method in Dart Programming Language. Returns the substring of this string that extends from startIndex, inclusive, to endIndex, exclusive. Syntax substring(int startIndex,…
Description By resizing, you change the width and height of the image. The new image has blank areas in the background color which is given as a hex value. If background parameter is not provided,…
Description Select in between page and default for any type of media file and this can be done manually. Example ![My New Image](my-new-image.jpg?thumbnail = default&display = thumbnail) Output The above code will generate the…
In this guide, we will discuss the String split() Method in Dart Programming Language. Splits the string at matches of the specified delimiter and returns a list of substrings. Syntax…
Description Lightbox is similar to link action but the difference here is that it creates a link with some extra attributes. Adds a rel = "lightbox" and accepts a width and height attribute. Resize of the…
In this guide, we will discuss the String replaceAll() Method in Dart Programming Language. Replaces all substrings that match the specified pattern with a given value. Syntax String replaceAll(Pattern from,…
In this guide, we will discuss String compareTo() Method in Dart Programming Language. Returns a new string by removing all leading and trailing spaces. However, this method doesn’t discard spaces…
In this guide, we will discuss the String trim() Method in Dart Programming Language. Returns a new string by removing all leading and trailing spaces. However, this method doesn’t discard…
In this guide, we will discuss the String toUpperCase() Method in Dart Programming Language. Returns a new string by converting all characters in the given string to the upper case.…