Adding Image in Magento Customized PDF (Extension) - image

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.

Related

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.

TFS not showing svg embedded in markdown files

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)

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.

How to add images and directories already on server to Magento media browser list of images and directories?

I've installed a new Magento Store and just pasted a media directory from another Magento Store. But when I try to insert images to some page or product using the WYSIWYG editor, I can upload new images and create new directories, but the images and directories that were copied does not appears.
What do I have to do to programmatically add this images and directories copied to the list of the "Magento's media browser"?
Below follows an image in case I didn't make this question clear enough. (You may notice some white squares, I just made a quick edit in this picture to hide the directories and images, as I can't show them)

Resources