Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/card/building-blocks.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ Use the [`CardImage`](slug:card-image) tag to render the image section of the Ca
<CardSubTitle>Capital of Italy</CardSubTitle>
</CardHeader>

<CardImage Src="https://docs.telerik.com/blazor-ui/components/card/images/rome.jpg"></CardImage>
<CardImage Src="https://demos.telerik.com/blazor-ui/images/cards/places/rome.jpg"></CardImage>

</TelerikCard>
````
Expand Down
8 changes: 3 additions & 5 deletions components/card/image.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ position: 7

Every Blazor Card can have a dedicated area to render a card image that will fill the size of the card. The content of the CardImage as well as its size is completely customizable through the available configuration options.

>caption Use the CardImage building block to insert an image in the Card. The result from the snippet below.

![Image in Card](images/cardimage-example.png)
>caption Use the CardImage building block to insert an image in the Card

````RAZOR
@* Insert an image in the Card *@
Expand All @@ -25,7 +23,7 @@ Every Blazor Card can have a dedicated area to render a card image that will fil
<CardSubTitle>Bulgaria, Europe</CardSubTitle>
</CardHeader>

<CardImage Src="https://docs.telerik.com/blazor-ui/components/card/images/rila_lakes.jpg"></CardImage>
<CardImage Src="https://demos.telerik.com/blazor-ui/images/cards/bg/rila_lakes.jpg"></CardImage>

<CardActions Layout="CardActionsLayout.Stretch">
<TelerikButton Class="k-flat" Icon="@SvgIcon.HeartOutline" Title="Like"></TelerikButton>
Expand All @@ -49,4 +47,4 @@ The CardImage provides the following features:

## See Also

* [Live Demo: Card Building Blocks](https://demos.telerik.com/blazor-ui/card/building-blocks)
* [Live Demo: Card Building Blocks](https://demos.telerik.com/blazor-ui/card/building-blocks)
Binary file removed components/card/images/rila_lakes.jpg
Binary file not shown.
Binary file removed components/card/images/rome.jpg
Binary file not shown.
2 changes: 1 addition & 1 deletion components/card/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ The below snippet demonstrates the setup of a Card component with all building b
<CardHeader>
<CardTitle>Tourism</CardTitle>
</CardHeader>
<CardImage Src="https://docs.telerik.com/blazor-ui/components/card/images/rome.jpg"></CardImage>
<CardImage Src="https://demos.telerik.com/blazor-ui/images/cards/places/rome.jpg"></CardImage>
<CardBody>
<CardTitle>Rome</CardTitle>
<CardSubTitle>Capital of Italy</CardSubTitle>
Expand Down