Mastodon Default Image Locations, Sizes and Other Information for Administrators

Tadashi Shigeoka ·  Fri, April 28, 2017

Here’s a summary of useful information about default image locations, sizes and other details for administrators running Mastodon instances.

Prerequisites - Mastodon Version

This article is written based on Mastodon v1.3.1.

Directory Where Image Files Are Located

Image files are located under app/assets/images.

List of Files in the Image Directory app/assets/images

$ ls -lh app/assets/images
total 1648
-rw-r--r--  1 codenote  staff   258K  4 27 09:31 background-photo.jpeg
-rw-r--r--  1 codenote  staff   1.3K  4 27 09:31 boost_sprite.png
-rw-r--r--  1 codenote  staff    24K  4 27 09:31 elephant-friend.png
-rw-r--r--  1 codenote  staff    59K  4 27 09:31 fluffy-elephant-friend.png
-rw-r--r--  1 codenote  staff   7.6K  4 27 09:31 logo.png
-rw-r--r--  1 codenote  staff   1.5K  4 27 09:31 logo.svg
-rw-r--r--  1 codenote  staff    34K  4 27 09:31 mastodon-getting-started.png
-rw-r--r--  1 codenote  staff    19K  4 27 09:31 mastodon-not-found.png
-rw-r--r--  1 codenote  staff   131K  4 27 09:31 mastodon.jpg
-rw-r--r--  1 codenote  staff    25K  4 27 09:31 mastodon_small.jpg
-rw-r--r--  1 codenote  staff   244K  4 27 09:31 screenshot.png
-rw-r--r--  1 codenote  staff   174B  4 27 09:31 void.png

You can change Mastodon site images by replacing these image files, or by placing image files in this directory and modifying the source code that uses the corresponding file names.

That’s all from the Gemba.