Galleries

These FAQs briefly summarise key points regarding Composr's galleries system for managing images and multimedia.

For more information, check out these tutorials:
Question What are Composr Galleries?
Answer Composr Galleries are a system for storing, organizing, and displaying images and videos. They function like categories, allowing you to group related media together. Galleries can be structured hierarchically, with sub-galleries nested under parent galleries, similar to a folder system. Each gallery has settings that control its appearance and behavior.
Question What Image and Video Formats are Supported?
Answer Images:
  • .jpg/.jpeg: Highly compressed, best for photos due to minimal noticeable quality loss.
  • .png: Good compression with no quality loss, ideal if bandwidth isn't a concern.
  • .gif: Limited to 256 colors and poor compression. Better alternatives are video or APNG.
Note that Composr does not support SVG because hackers can leverage the XML-like structure of SVG files to compromise a website.

Videos:
  • .mp4 (h.264 aac encoding): The recommended format, widely supported.
  • .mov (h.264 aac encoding): Identical to .mp4.
  • .webm: Supported natively in most browsers, but requires plugins for Internet Explorer/Microsoft Edge and Safari.

Other formats, while they may work, are generally discouraged due to compatibility issues and lack of consistent addon or browser support.
Question How Do I Import Images in bulk into a Gallery?
Answer You can import images in bulk using a CSV file. The file should be named descriptions.csv and placed in the uploads/galleries directory. The first column should contain filenames (without the path), and the second column should contain descriptions. The filenames should correspond to images also located in the uploads/galleries directory. Composr will automatically match the descriptions to the images during import.
Question What are Rep-Images and How Do I Set Them?
Answer Rep-images, short for "representative images," are thumbnails that represent a gallery when it's displayed within a list of galleries. They offer a visual preview of the gallery's contents. You can set a rep-image when adding or editing a gallery, or when adding an image to a gallery.
Question Can Members Create Their Own Personal Galleries?
Answer Yes, members with the "have personal galleries" permission can create their own galleries. These personal galleries are displayed under designated "Personal category container" galleries. They also show up in a tab on the member's profile. Members can only add content to their own galleries unless they have the "Submit to categories belonging to other members" permission.
Question What are Watermarks and How Do They Work?
Answer Watermarks are semi-transparent images overlaid on gallery images to mark their origin or deter unauthorized use. When you add or edit a gallery, you can choose to apply watermarks to the corners of images. Watermarking applies permanently to the uploaded image. Composr uses a reverse tree structure for watermarks: if a sub-gallery doesn't have a watermark defined, it inherits the watermark from its parent gallery.
Question How Do Gallery Slide-shows Work?
Answer When viewing an image or video in a gallery, visitors can initiate a slide-show that automatically cycles through subsequent entries. The slide-show can be paused with a click or keypress. The default slide-show speed can be adjusted by modifying the GALLERY_ENTRY_SCREEN.tpl template.
Question Can I Use Composr Galleries to Publish Podcasts?
Answer Yes, Composr supports creating podcasts from galleries. The podcast URL follows this format: http://yourbaseurl/backend.php?mode=galleries&select=galleryname&type=rss&itunes=1. Replace yourbaseurl and galleryname accordingly. This URL can be used to subscribe to the podcast in iTunes or other podcast applications.