## Attachments and images

Syntax | Result | Comment
https://jenyay.net/uploads/Soft/Outwiker/small_image.jpg |  | Insert an image from the Internet
Attach:small_image.jpg |  | Insert an attached image
Attach:"subdir/small_image_in_subdir.jpg" |  | Insert an attached image from a subdirectory
[[http://jenyay.net | Attach:small_image.jpg]] |  | Insert a link as an image
[[page://wiki-page | Attach:small_image.jpg]] |  | Insert a link to another page as an image
%thumb%Attach:image.jpg%% |  | Insert a thumbnail with a link to the original. Thumbnails are created in the __thumb subdirectory of the attached files directory
%width=200%Attach:image.jpg%% |  | Insert a thumbnail with a specified width and a link to the original. Possible command variants: %width=200px%Attach:image.jpg%% or %thumb width=200%Attach:image.jpg%% Thumbnails are created in the __thumb subdirectory of the attached files directory
%height=200%Attach:image.jpg%% |  | Insert a thumbnail with a specified height and a link to the original. Possible command variants: %height=200px%Attach:image.jpg%% or %thumb height=200%Attach:image.jpg%% Thumbnails are created in the __thumb subdirectory of the attached files directory
%maxsize=200%Attach:image.jpg%% |  | Insert a thumbnail with a specified maximum size and a link to the original. Possible command variants: %maxsize=200px%Attach:image.jpg%% or %thumb maxsize=200%Attach:image.jpg%% Thumbnails are created in the __thumb subdirectory of the attached files directory

## Other types of attached files

Syntax | Result | Comment
Attach:file.txt | file.txt | Link to an attached file
[[Attach:file.txt]] | file.txt | Link to an attached file. Same as the previous entry.
Attach:"subdir/file_in_subdir.txt" | subdir/file_in_subdir.txt | Link to an attached file in a subdirectory
[[Attach:small_image.jpg]] | small_image.jpg | Link to an attached image
[[Attach:file.txt | Attached file]] | Attached file | Link to an attached file with a comment
[[Attached file -> Attach:file.txt]] | Attached file | Link to an attached file with a comment Same as the previous entry.
[[Attach:"subdir/file_in_subdir.txt" | Attached file]] | Attached file | Link to an attached file in a subdirectory with a comment
[[Attached file -> Attach:"subdir/file_in_subdir.txt"]] | Attached file | Link to an attached file in a subdirectory with a comment Same as the previous entry.

See also:

- Text Formating
- Links
- Tables