TFS not showing svg embedded in markdown files - visual-studio

I have some markdown files (.md) in my project, which embed SVG images with the usual ![]() format. When I preview the markdown files in Visual Studio Code, the embedded SVG images are shown correctly.
However, when I try to preview those markdown files in visualstudio.com (TFS-git repository), the images are not shown, although regular bitmaps do. If I right-click the failed images and choose to 'open in another tab or window', the SVGs are shown correctly.
Is there a way to make it work correctly in visualstudio.com?
ADDITIONAL INFORMATION:
Using macOS/Safari, when I open the developer console, the URL returning 404 is mentioned as:
https://{account}.visualstudio.com/{repo}/_git/uml/actors.svg
But, when I right click the missing image and select 'Open image in new tab' it opens:
https://{account}.visualstudio.com/{guid1}/_api/_versioncontrol/itemContent?repositoryId={guid2}&path=%2Fdocs%2Fuml%2Factors.svg&version=GBmaster&contentOnly=true&__v=5
The last link shows the image correctly

TFS Web portal does not support display the svg image in markdown if the svg image is hosted in TFS repository(TFVC&Git), I have help you submit a feature request on VSTS User Voice, you can vote it here: Support displaying the svg image in markdown from webportal.
As a workaround for now, you can place the svg file in a public network path and then use the address in the markdown. For example:
![Alt text](https://css-tricks.com/wp-content/uploads/2015/05/kiwi.svg)

Related

Adding Image in Magento Customized PDF (Extension)

I have an extension installed on my Magento in which I customized it to fit the my expectations.
But in my PDF that I customized, I want to place an image where the picture is placed on the media folder only,
The link of my image is like this http://xxxxxxxx.com/ecommerce/media/GlobalPdf/default/img/barcode.jpg
I can open the link onm the browser and it shows the image but when I included it on the XML, it does not show, it shows only a black box with a white X on it.
Am I missing something? I tried placing it on other locations but to no avail.

How do I embed full pdfs using ReStructured Text?

How do I embed a pdf using reStructured Text? With the following directive, I only get the first page.
.. image:: /pdfs/cv.pdf
For context, I'm trying to do this in a Pelican based blog.
A plugin for Pelican called pdf-img description says:
Searches for any tags within your article for which the source is a PostScript, EPS, or PDF file. It will produce a PNG preview of the file and this PNG will be displayed as the image. This preview will also act as a link to the original file. If the PDF/PS/EPS file is a multi-page document, then only the first page will be used for the preview.
That explains why you get those results.
I could find no plugin that "embeds a PDF" (by which I assume you want to embed a PDF viewer within your Pelican blog that would display the entire PDF, allowing the viewer to scroll through it in an iframe or something like that), but you can try searching for others.

Siebel open UI IP16 - loading image customization

Is there a way I can customize (replace with another GIF image) the loading image in Siebel Open UI in IP16 version? The current loading image is an red colored, oval shaped, oracle provided one, but i do not find the corresponding image in images folder. Any leads?
The animated icon may be stored in css files.
Try to search in your css files for something like
.siebui-mask-outer
timer
It may not be an actual gif but an css transformation.
(btw. You can run your Chrome Developer tool and examine the source of the icon)
The standard GIF file must be in public/enu folder (for english application) on the web server. On your local installation, it will be in C:\Siebel81\16.0.0.0.0\Client\PUBLIC\IMAGES\
There are multiple gif files there used for different applications.

Firefox add-on will not display images

I have a blank Firefox Add-On I made using the Getting Started Tutorial. When I run my extension using jpm run I observe the following.
If I navigate to any image it appears like this (image is displayed nicely in the centre):
However, I have the same image store in my extension under: ./data/test.jpg. When I navigate to resource://my-addon/data/test.jpg I get the following blank page:
The image is there, because if I hover over it in the inspector, it shows:
Am I doing something wrong, missing something in the docs about rendering images or is there a bug with how images are being rendered from the extension?
Include the self and then do
console.log(seld.data.url(''))
This will give you the id of your addon. It is very likely not my-addon it will be something like: jid1-4GP7z3tkUd3Tzg#jetpack - so your path to your image will be resource://jid1-4GP7z3tkUd3Tzg#jetpack/data/test.jpg.

windows phone webbrowser control images not displayed with incorrect extension

I am using webbrowser control to display and xhtml page. The page also has images. The issue is webbrowser is not able to display this image which is named as image.png. Upon investigating, i found that the mime of the image specifies that as a jpg. If i rename the png to jpg, the image is dispalyed fine. But for me to do that, i'll have to rename all references to the image file in the xhtml. Is there a better solution available. Can webbrowser not recognize these kinds of files. Kindly help.

Resources