Item logo image for Inline Mantis Images

Inline Mantis Images

4.9(

8 ratings

)
ExtensionDeveloper Tools213 users
Item media 1 screenshot

Overview

Include links to images in page as images

Inline Mantis Images The Mantis system attaches file as http://*/mantis/file_download.php?file_id=55882&type=bug with a name "xyz.gif" This extension inlines the attached images to see them directly and need not to click on each image. Your URL needs to match "http://*/*" or "<all_urls>" Version History: 1.2: Match all_urls (as our system changed to from http://.../mantis to http://mantis.domain.com/ 1.1: Detect images case insensitive. Here is the JavaScript source: for ( var i = 0; i < document.links.length; ++i) { myHref = document.links[i].href; linkText = document.links[i].firstChild.data; if (linkText != null) { linkText = linkText.toLowerCase(); if (linkText.indexOf(".gif") >= 0 || linkText.indexOf(".png") >= 0 || linkText.indexOf(".jpeg") >= 0 || linkText.indexOf(".jpg") >= 0 || linkText.indexOf(".bmp") >= 0) { var myIMG = document.createElement("img"); myIMG.src = document.links[i].href; myIMG.alt = linkText; myIMG.title = linkText; document.links[i].appendChild(document.createElement("br")); document.links[i].appendChild(myIMG); document.links[i].appendChild(document.createElement("br")); } } }

4.9 out of 58 ratings

Google doesn't verify reviews. Learn more about results and reviews.

Review's profile picture

Amaury Guimarães (MeninoBambinoGaroto)Jun 4, 2022

Works exactly how I hoped it would. Perfect!

Review's profile picture

Arkadiusz DąbkowskiMar 2, 2013

OK.

1 person found this review to be helpful
Review's profile picture

A Chrome Web Store userDec 17, 2012

this is awesome! (tooo jeeeszt boszkiee!)

1 person found this review to be helpful

Details

  • Version
    1.3
  • Updated
    August 29, 2017
  • Offered by
    Stefan.Cordes.RSC@googlemail.com
  • Size
    9.5KiB
  • Languages
    English
  • Developer
    C&A
    Wanheimer Str. 70 Düsseldorf 40468 Deutschland
    Email
    cas@adr.de
  • Non-trader
    This developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.

Privacy

The developer has not provided any information about the collection or usage of your data.

Support

For help with questions, suggestions, or problems, please open this page on your desktop browser

Google apps