
Inline Mantis Images
8 रेटिंग
)खास जानकारी
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")); } } }
5 में से 4.98 रेटिंग
वर्णन
- वर्शन1.3
- पिछली बार अपडेट होने की तारीख:29 अगस्त 2017
- ऑफ़र करने वालाStefan.Cordes.RSC@googlemail.com
- आकार9.5KiB
- भाषाएंEnglish
- डेवलपरC&A
Wanheimer Str. 70 Düsseldorf 40468 Deutschlandईमेल
cas@adr.de - गैर-व्यापारीइस डेवलपर ने अपनी पहचान व्यापारी के तौर पर ज़ाहिर नहीं की है. अगर आप यूरोपियन संघ के किसी देश में रहने वाले उपभोक्ता हैं, तो आपके और डेवलपर के बीच हुए समझौते पर उपभोक्ता के अधिकार लागू नहीं होंगे.
निजता
सहायता
सवालों, सुझावों या समस्याओं से जुड़ी मदद पाने के लिए, कृपया इस पेज को डेस्कटॉप ब्राउज़र पर खोलें