Main Menu
Contact
Popular Plugins
Sign In

Class

When you want to style the image HTML element, you'd want to do this with CSS class names. You can set a class attribute by applying a "class" value as a string. By default, the image will have no class names applied. Once you set a value, be sure it's a string and nothing else (no array, or boolean or whatnot).

"exampleImage" => [
    "type"  => "Image",
    "label" => t("Your Image"),
	"view"  => [
		"class" => 'my-css-class multiple-allowed',
	],
],

Output source only (output_src_only)

Whenever you only want the source (src) of the image outputted, for whatever reason, you can use this option. It will print out the full path to the image. 

Set its value to true or false. By default, it's set to false, which means it will output an image as expected.

"exampleImage" => [
    "type"     => "Image",
	"label"    => t("Your Image"),
	"view"     => [
		"output_src_only" => true,
	],
],

Thumbnail handle (thumbnail_handle)

If you want to display an image by a created thumbnail, you can add it's handle in orde to output the source of that specific thumbnail (width/height and eventual cropping). Pass only strings as a value. By default, no thumbnail handle is used (so full source path of image is being used).

Want to know more about working with image thumbnails?

"exampleImage" => [
    "type"  => "Image",
    "label" => t("Your Image"),
	"view"  => [
		"thumbnail_handle" => 'your_thumbnail_handle_here',
	],
],

Choose text (choose_text)

If you don't like the default "Choose Image" for chosing an image, you can decide to add your own text instead. Like "Choose Logo" or "Your Logo" or whatever you'd like to have it read. As long as you pass a string as value, it's all good (you may still use the translate function to have it as a multilingual string)!

"exampleImage" => [
    "type"  => "Image",
    "label" => t("Your Image"),
	"config"  => [
		"choose_text" => t("Your Logo Here"),
	],
],

Use, by you or one client, in a single end product. The total price includes the item price and a buyer fee.

  • Quality checked by Concrete5
  • Future updates
  • 30 Day Support
  • Concrete5 buyer fee: $32.70
Add to Concrete5 Cart

Use, by you or a client, in 5 single end products. The total price includes the item price and a buyer fee.

  • Quality checked by Concrete5
  • Future updates
  • 30 Day Support
  • Concrete5 buyer fee: $130.80
  • Save an extra: $109.00
Add to Concrete5 Cart

Use, by you or a client, in x/xx single end products.

Upon request, quote will be made and sent to you via email.

  • Quality checked by Concrete5
  • Future updates
  • 30 Day Support
  • Saves extra $$
Request Quote
Released 4 years ago
Updated 3 years ago
Requires concrete5 5.7.5.3
Current version 0.9.7
Skill level Bleeding Edge

Buyer Rating:

5 average based on 2 ratings More information

Got something to say? Need help?

View support forum