Verint | Telligent Community
Verint | Telligent Community
  • Site
  • User
  • Site
  • Search
  • User
Verint Community 11.x
  • Verint Community
Verint Community 11.x
User Documentation How to: load images inline
  • User Documentation
  • Ask the Community
  • API Documentation
  • Manager Training
  • Developer Training
  • Tags
  • More
  • Cancel
  • New
  • Verint Community 11.x User Documentation
  • +How do I install Telligent Community?
  • Getting Started
  • -General Topics
    • +Community and GDPR
    • How can I customize messaging to new members?
    • How do I use the content editor?
    • +What types of videos can I embed in or attach to content?
    • What is liking?
    • How can I administer available emoticons and emoji?
    • What is featured content?
    • How can I configure how members can join the site and their initial experience?
    • How do I manage comments?
    • How to: load images inline
    • What is a mention?
    • What is document preview?
    • What is an activity stream?
    • How does Telligent Community support mobile devices?
    • +What is friending and following?
    • Synonyms
    • What is chat?
    • How should I store user contributed media?
    • How can I integrate my community with other websites and services?
    • What is a hashtag?
    • How do I insert a poll into content?
    • How do I embed custom forms in my community?
    • How can I use the REST API to automate data migrations or data modifications?
    • What is RSS?
    • How do I export my data?
    • How do I configure Telligent Community to meet the privacy requirement of my locale?
    • How can I render previews of documents (Word, Excel, PowerPoint, PDFs) in my community?
    • How do I store some files in different locations than others?
    • How to avoid illegible image uploads
  • +How do I get to the administration panel?
  • +How do I administer members?
  • +How do I change permissions?
  • +What is an application?
  • +What is a group?
  • How should I define groups and applications in my community?
  • +What is a forum?
  • +What is a blog?
  • +What is a gallery?
  • +What is a wiki?
  • +What is a calendar?
  • +What is ideation?
  • +What is a Knowledge Collection?
  • +How do I view reports?
  • +What is a theme?
  • +What is an Achievement and how do I change or manage Achievements?
  • +How can I enable single sign-on (SSO)?
  • +How do I install chat support?
  • +How do I configure email integration?
  • +How do I translate my community?
  • How do I configure automations for my community?
  • +How can I identify abuse or SPAM within the community?
  • +Community Troubleshooting Guide
  • +How do I monitor the health of my community?
  • +Release Notes for Community 11
  • Accessibility
  • What are Points and how do I change or manage points?
  • Change system defaults for locking out users
  • How do I assign a site role to a user?
  • How do I change my password?
  • How do I change the options in my user profile?
  • How do I configure the available profile options?
  • How do I create an API key?
  • How do I customize my community in an upgrade-safe way?
  • How do I edit my profile?
  • How do I enable Google Analytics on Verint Community?
  • How do I show embedded tweets with videos (or pictures)?
  • IFRAME inclusion in the community
  • Shortened URLs
  • What are profile fields and how do I manage them?
  • What are Ratings?
  • What are the SEO features in Verint Community?
  • What is a leaderboard?
  • What is the difference between Related / Recommended content, and how do they work?

You are currently reviewing an older revision of this page.

  • History View current version

How to: load images inline

This article originated from a customer question.

Problem

Images in the blog by default open to a full-sized view of the image. Since updating Telligent Community Server, this no longer works; instead we are getting a File Download pop-up window. We suspect that this is due to changes to the image handler?

Unfortunately this is not ideal in our case. Does anyone have any suggestions on how to mitigate or fix this?

Solution

This behavior can be changed by updating the communityserver.config file.  

Inside communityserver.config is a section called MimeTypes. This relates the mime type to a particular file extension, it also indicates if a file type should be forced to be downloaded or not.  

To change the behavior for jpg files, for example, you would change the mime type entry for .jpg so that it looks like the following. The part that was added was the forceDownload="false".

<mimeType extensions="jpg,jpeg" mimeType="image/jpeg" forceDownload="false" />

You will want to make this change for bmp, gif, png, and jpg. The default is to force a file to be downloaded when it is accessed directly through the centralized file store handler.

The recommended way to make this change to the configuration is to use a communityserver_override.config file.

This will update the configuration but make it easier to upgrade your site in the future. Below is a communityserver_override.config file that you can use to make these updates to the image mime type entries.

<?xml version="1.0" encoding="utf-8"?>
<Overrides>
<Override xpath="/CommunityServer/MimeTypes/mimeType[@extensions='jpg,jpeg']"
mode = "new"
name="forceDownload"
value="false" />
<Override xpath="/CommunityServer/MimeTypes/mimeType[@extensions='gif']"
mode = "new"
name="forceDownload"
value="false" />
<Override xpath="/CommunityServer/MimeTypes/mimeType[@extensions='bmp']"
mode = "new"
name="forceDownload"
value="false" />
<Override xpath="/CommunityServer/MimeTypes/mimeType[@extensions='png']"
mode = "new"
name="forceDownload"
value="false" />
</Overrides>

After you have made these changes, you should touch your web.config by opening and saving it in Notepad.

  • Telligent
  • Professional Services
  • Submit a Support Ticket
  • Become a Partner
  • Request a Demo
  • Contact Us

About
Privacy Policy
Terms of use
Copyright 2024 Verint, Inc.
Powered by Verint Community