SlRvb-Site

Search

Search IconIcon to open search

Image Positions

Last updated Nov 19, 2022 Edit Source

by SlRvb

Inspired by Lithou’s Image Flags

# Syntax

⚠ Note: Markdown syntax will need the note to be reopened to see changes.

Wiki Links: ![[Image.png|modifier+modifier|#]]

Markdown: ![|modifier+modifier|#](Image.png)

Example: ![[Image.png|left+pt|200]]

# Simplified Version

Optimized for easier comprehension and “quicker” styling

![[Image.png|left+small]]

# Positions

left, center, right

|sban

# Types

Style of sizing for images.

bannerExpand image to width of the page
portraitLarger image height than image’s width
p.rofileWidth and height of the image are equal
circleRound edges of a squared image (best with p.rofile)

|sban

# Type Sizing

⚠ Note: Obsidian’s number sizing |## will not work with these.

Format: ![[Image.png|modifier+size]]

|sban


# Customizable Version

Allows for more adjustments to images than the Simplified Version.

# Position & Types

locrLocation Right, float image to right of note
loclLocation Left, float image to left of note
ctrCenter image on page
sbanBanner sets width of image to 100%, height will be adjustable
coverFit image in bounds without stretching

|sban

# Inner Photo Position

Adjustments to target which part of the inside of the image to move around, not the where the image is moved to on a page.

# Basic

BasicPosition
ptTop
pbBottom
plLeft
prRight
pcCenter

|sban

# Precise

Format: ![[|p+precise]]

TopBottomLeftRight
p+ctp+cbp+clp+cr
p+cctp+ccb
p+tcp+bc
p+tccp+bcc

|sban

# Sizing

HeightWidthPX
hmicrowmicro70
htinywtiny100
hsmallwsmall200
hs-medws-med300
hm-smwm-sm400
hmedwmed500
hm-tlwm-tl600
htallwtall700

|sban

# Extras

Uses some of the Auto-Adaptive Images snippet with slightly different synax.

invertwFlip image colors of white lined images
invertbFlip image colors of dark lined images
invertwcFlip image colors of white lined images
invertbcFlip image colors of dark lined images
clearImage will sit below another image if it’s on the same side

|sban