-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from ayushjain01/main
Modify contribute guidelines - Add image instructions
- Loading branch information
Showing
36 changed files
with
94 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-23 KB
assets/images/axure/page-article-header-cover-image-header-background.jpg
Binary file not shown.
Binary file removed
BIN
-26.3 KB
...s/images/axure/page-article-header-cover-image-immersive-translucent-header.jpg
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-29.2 KB
...re/page-article-header-overlay-background-fill-immersive-translucent-header.jpg
Binary file not shown.
Binary file removed
BIN
-23.9 KB
assets/images/axure/page-article-header-overlay-background-fill.jpg
Binary file not shown.
Binary file removed
BIN
-30.8 KB
...images/axure/page-article-header-overlay-background-image-header-background.jpg
Binary file not shown.
Binary file removed
BIN
-34.8 KB
...e/page-article-header-overlay-background-image-immersive-translucent-header.jpg
Binary file not shown.
Binary file removed
BIN
-29.9 KB
assets/images/axure/page-article-header-overlay-background-image.jpg
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
--- | ||
layout: article | ||
title: Article Image Guide | ||
description: Detailed guidance on the various types of images used with an article and instructions on their creation. | ||
image: https://learn.piptrends.com/assets/images/general/contribute-cover.png | ||
--- | ||
There are four main images that you'll need to create for an article. The front matter for these is - | ||
```markdown | ||
--- | ||
image: <Optional - Replace with image path, this path has to be a complete url> | ||
cover: <Optional - Replace with cover path, this path can be relative> | ||
article_header: <Optional - Modify content as per requirement> | ||
background_image: | ||
gradient: 'linear-gradient(135deg, #ffffff, #000000)' | ||
src: <image path> | ||
author: | ||
picture: <Optional - Replace with author avatar> | ||
--- | ||
``` | ||
The key tags are ```image```, ```cover```, ```background_image``` under ```article_header```, and ```picture``` under ```author```. | ||
Each tag serves a different purpose. | ||
- ```image``` - This tag represents the preview image that will be visible when the article is shared on social media. Here's an example of this image. This image is solely for preview purposes and isn't part of the article content. | ||
|
||
**Dimensions - 1200x630 px** | ||
|
||
Note: The image path should always be an absolute URL. | ||
<center> <img src = "./assets/images/article-images/preview-image.png" alt = "preview image"> </center> | ||
|
||
|
||
- ```cover``` - This tag represents the icon image that will be displayed on the homepage along with the article title and description. | ||
|
||
**Dimensions - 800x800 px** | ||
|
||
<center> <img src = "./assets/images/article-images/article-cover.png" alt = "article cover image"> </center> | ||
|
||
- ```background_image``` - This tag represents the image appearing as the header background for every article. You can also add a gradient instead of an image(preferred). | ||
|
||
**Dimensions - 2100x1600 px** | ||
|
||
<center> <img src = "./assets/images/article-images/article-header.png" alt = "article header image"> </center> | ||
|
||
- ```picture``` - This tag represents the avatar appearing along with the author name for an article. | ||
|
||
**Dimensions - 150x150 px** | ||
|
||
<center> <img src = "./assets/images/article-images/article-author-avatar.png" alt = "article author avatar"> </center> | ||
As a standard design practice at [learn.piptrends.com](index.html), the ```image```, and the ```cover``` share the same background gradient as with the ```gradient``` tag under the ```background_image```. | ||
|