PBC:Images
This page in a nutshell:
|
Whenever images are included in PBC, it makes a big difference if they look good. When they do, an article appears more professional and is more pleasant to read. When they look amateurish, the article looks amateurish.
The following is a rules regarding the minimum quality standards an image should meet in order to be placed in any mainspace article. Images that fail to meet certain standards have been and continue to be removed.
Unlike an article, which can only be deleted via the deletion process, an image can be removed from an article simply through an edit, thereby bypassing. While it can be just as easily restored when this occurs, an image can be permanently deleted via a files for deletion discussion.
Preparing images for upload
When uploading image files to PBC, it is important to use the right file format for the content. Don't try to save disk space on the images server by giving up useful information.
Keep the source:
- If the image was generated from data (e.g. a graph in Microsoft Excel), the data and file (e.g. spreadsheet) should be included so new data can be added to the graph, and/or the source of the data should be cited.
- If the image was generated from a script (e.g. in a computer algebra system), the code should be included so minor improvements like labels and color adjustments can be made.
- In any of the above cases, there should be a note saying what specific software is required to edit the image. Data formats and code that are compatible with free software should be preferred.
There are 4 basic choices for image file formats:
- JPEG for photographic images.
- GIF for animated images.
- PNG for everything else.
- SVG (especially those that need to be scaled) for everything else.
While some formats offer multiple compression systems, in general the format and the compression system are tied together.
Other image formats should be avoided in most cases:
- BMP - Images are uncompressed, resulting in larger file sizes. Should usually be converted to PNG or JPEG.
- TIFF - Should usually be converted to PNG or JPEG as discussed above.
Use SVG over PNG
PNG is a raster graphics format, encoding the value of each individual pixel, while SVG is a vector graphics format that encodes an image as a series of geometric shapes. If this confuses you, don't worry; you don't need to understand the technical aspects to create or upload images. What this means in practice is that an SVG image scales to different sizes far better than an equivalent PNG. Therefore, for images that consist largely or entirely of polygons, lines, and curves (national flags, road signs, etc.), SVG is the preferred format.
SVGs can be easily created with many desktop publishing programs such as the free Scribus program. SVGs can also be altered simply with a text editor, because it is code-based, not numerical. This makes updating and translating illustrations much easier. For a list of SVG editing software, see List of vector graphics editors.
JPEG tips
As stated above, JPEG (Joint Photographic Experts Group) was developed with photographic images in mind. Although the JPEG algorithms are quite good, there are a couple of tips that will help to get the smallest file size possible without sacrificing quality:
- Some digital cameras and smartphones store additional information (known as EXIF metadata) in the JPEG files they create. Be aware that all such metadata is publicly visible across PBC. If you don’t want to reveal the information remove it from the file before you upload it using an appropriate application.
- When saving a JPEG, the graphics program will let you choose the compression level. Usually the values range from 0 to 100 where 100 is the best quality possible with very little compression applied. Some apps, notably Paint Shop Pro, reverse this scale with 0 as highest quality and 100 as the lowest quality. Don't mistake the 0 to 100 scale for a percentage, in that using 1/2 the setting does not result in 1/2 the quality, nor does it produce a file of 1/2 the size. Also, 100 does not mean "100%", as the image is still compressed, resulting in a minute loss of detail. Since most JPEGs in PBC will be rescaled anyway before appearing on pages, a quality setting of 95 is appropriate. (Settings above 95 increase size dramatically for little improvement in image quality.)
- Always work from the original image and not from the already saved JPEG file, as quality gradually decreases the more you save it; this is known as digital generation loss. For this reason, it may be good to keep the main copy here in a lossless format like a raw image format or PNG. However, as of right now, scaled versions are forced to be in the same format as the original image and having two copies of the image is a maintenance nightmare.
Images in Articles
Adding the first picture
If an article already has an infobox (Biobox, Moviebox etc) at the top left, then the usual place for the article's first picture is within the infobox. In very brief summary, one hurdle that trips up many people when attempting to add an image to an infobox template is that most internally provide the wiki code that "wraps" the image. Accordingly, you do not usually add the brackets, number of pixels, and other code details you will learn about below, when placing an image in infoboxes – just the file name next to a field labeled | image =. Adding such extraneous code will cause many infoboxes to break. Also, be aware that some infoboxes require that the file's name be placed without the file/image namespace prefix. Thus, and for example, if File:Name.jpg does not work, try just Name.jpg.
Adding images to articles
The procedure for adding images to articles is the same. To make your uploaded file appear in an article, you need to insert it: edit the article and add the syntax
[[File:Image name|thumb|Caption]]
where you want the file to appear.
Important: Image names are case-sensitive. For example, if an image is called Picture.jpg then neither picture.jpg nor Picture.JPG will find it.
Thumbnails
A typical picture can be inserted with a line [[File:...|thumb|...]]
as shown below. (Image:
can be substituted for File:
with no change in effect; the choice between the two is purely a matter of editorial preference.) Using thumb
generates a thumbnail, a picture that is typically sized differently from the original image. Several options can affect a thumbnail's placement and size.
Publishing multi-uploaded images in an article
When publishing a set of uploaded images on PBC, you can save significant time by using our dedicated Image Gallery Code Generator. This tool is designed to help you quickly generate the necessary code to include a series of numbered images in a PBC article.
Why Use the Image Gallery Code Generator?
Instead of manually entering the file names for each image, especially when working with large sets, the generator allows you to create a formatted list of images with a few simple inputs. This can be particularly useful when dealing with numbered image sets, like “Image 001.jpg,” “Image 002.jpg,” and so on.
Requirements for publishing image sets
To ensure consistency and proper display, follow these guidelines when preparing image sets for publication using the generator:
- File Name Format: The file name must include a placeholder for the image number, represented by #. For example, use Image #.jpg where # will be automatically replaced with sequential numbers (e.g., Image 001.jpg, Image 002.jpg). If you forget to include the #, the tool will notify you and prevent code generation until corrected.
- File Prefix: The tool supports PBC’s standard file prefixes: File: and Media:. If your image set is named like File:Image #.jpg, the generator will process it accordingly. Only these prefixes are allowed. If another prefix is used, an error will be shown.
- Supported File Extensions:Your images must have one of the following extensions: .png, .jpg, .jpeg, .webp, .svg, .pdf, .ogg, .ogv, .oga, .flac, .opus, .wav, .webm, .mp3, .midi, .mid, .mpg, or .mpeg. If you don't specify an extension, the generator will automatically append .jpg as the default format.
- Numbering Rules: You’ll need to specify a starting number and an ending number for the set. For example, to include images from Image 001.jpg to Image 010.jpg, you would specify a start number of 1 and an end number of 10. The number of digits in the file name (e.g., 001, 01) can be controlled by the digit length input, ensuring your numbering aligns with your file names.
- First Gallery vs. Additional Galleries: The generator allows you to specify whether this is the first gallery in the article or an additional gallery to be appended. When creating the first gallery, the necessary closing tags will be automatically added to the code. For additional galleries, these tags will be omitted to prevent conflicts in the article’s structure.
By following these standards and using the generator, you can ensure a consistent, efficient process for publishing sets of images on PBC.
Image quality
JPEG compression quality
- Minimum 58% JPEG quality compression of Headshot/Portrait images. 57% JPEG quality compression is smaller than our minimum quality requirement, and this file will be removed.
- Minimum 62% JPEG quality compression of other images. 61% JPEG quality compression is smaller than our minimum quality requirement, and this file will be removed.
Minimum size and resolution
- 256 (Width) x 400 (Height) pixels = 160 KP of Headshot/Portrait images. 255 x 399 pixels is smaller than our minimum size requirement, and this file will be removed.
- 480 x 480 pixels = 230 KP of screen captures. 479 x 479 pixels is smaller than our minimum size requirement, and this file will be removed.
- 500 x 500 pixels = 250 KP of other images. 499 x 499 pixels is smaller than our minimum size requirement, and this file will be removed.
- Please upload the highest resolution image possible, but keep the file size under 100 megabytes.
- The highest quality images is given priority for use.
Regarding the temporary use of an image not meeting the agreed requirement
- An imperfect image not meeting the agreed quality requirement may not be used in an article, even temporarily
- An imperfect image not meeting the agreed quality requirement may be used temporarily until a better image can be obtained. Under this guideline, "total blur" would still be excluded.
Please keep in mind that megapixels (MP) are different from megabytes (MB), as they refer to the dimensions and not the file size.
GIF Files
As of 1 September 2021, GIF files are no longer supported on PBC. GIF is a legacy format being replaced by WebP and WebM. Already uploaded GIF files remain in the media repository along with other formats.
Headshot/Portrait Photos
In order to maintain a consistent and professional appearance across our website, we require the use of a standard Headshot/Portrait Photo for all articles about people. This policy applies to all contributors and editors of the website.
The Headshot/Portrait Photo is the primary image that will be used to represent the individual in their respective article. This image may also be used in articles or other media referencing the individual.
Headshot/Portrait Image Naming Convention
The Headshot/Portrait Photo file should be named in the following format: [Individual's Full Name].jpg (e.g., "Hoyt_Kogan.jpg"). This naming convention allows for easy identification and insertion of the image across various sections of the website.
Headshot/Portrait image watermark
If an Headshot/Portrait image has watermark, crop it.
Headshot/Portrait Image Requirements
All Headshot/Portrait Photos must meet the following specifications:
Aspect Ratio: The image must have an aspect ratio of 2:3, e.g. 1000:1500, 800:1200, 667:1000, 600:900, 533:800 pixels. This helps maintain uniformity and prevents distortion of the image when displayed on different platforms. PBC offers an image cropping service subject to this policy: Image Cropper. See more: PBC:Image Cropper.
Minimum Size: The image must have a minimum height of 400px. This ensures a minimum level of detail and quality, and allows for adequate resizing when necessary.
Compliance
Failure to adhere to these guidelines may result in the article being flagged for review or the image being replaced. It is the responsibility of the contributor or editor to ensure that all images comply with these requirements.
We appreciate your cooperation in adhering to this policy, which we believe will contribute to a more visually cohesive and high-quality website experience.
Limits
PBC is an encyclopedia. Pursuant to the aim of creating a comprehensive and useful resource, PBC allows for, and encourages the use of, files. Many thousands of articles use files to great affect, including the majority of the articles considered to be PBC's best.
However just because a user has the technical ability to upload a file does not necessarily mean that they should upload it. There are many things to consider before uploading an file.
As important that every file on PBC be usable and used in the article space. PBC is not a repository for files, it stores files that are used on PBC, and should only store files used on PBC. Editors can upload files to PBC if those files can be used constructively in articles, however forcing an file into an article when it isn't a good fit is discouraged. If you honestly believe that the file can help, say in an article with no files or in an article where your file is better than the existing files, then feel free to upload.
There are exceptions to the expectation that files be used in the article space. A number of files are used primarily or exclusively in the user space or project space. Those files, however, have a clearly defined purpose and are utilized constructively on a consistent basis. Things such as Userbox images, icons, and template icons all are valid exceptions.
For more specifics, follow the limits.
Collages
A collage is an combination of multiple images arranged in a single image.
Collage can be one way for editors to get around the image resolution limit, but would not be recommended as replacement of usual images.
- See also: Category:Collages
Naming files
File names should be clear and descriptive, without being excessively long. While the image name doesn't matter much to the reader, it matters for editors. It is helpful to other contributors and for maintenance of the encyclopedia if images have descriptive or at least readable file names. For example, "File:Pheonix Fellington Manuel Skye LucasEntertainment 2018 1.jpg" is more helpful than "File:PW6163527162.jpg".
Finding files
You can use the Media Search or FaceX service (user guide).