Problem publishing images in Silverlight PivotViewer - silverlight

I'm working on a Silverlight PivotViewer app and using the Excel Pivot Collection tool to generate my image files. Everything works perfectly except some images are not being published by the tool. As a result, when the app launches, everything looks great except there are blank spaces where the unpublished images are supposed to be. All of their data/facets are available if I click on a "blank" image.
When I dig a little deeper and look at the files that are generated, the missing images are not there. What's more interesting, if I look a the cxml file. The images information is all there only the missing images are missing their "img" attribute. For some reason, the Pivot Collection tool recognizes that there are images but chooses not to publish them. I've tried re-creating the images as both PNGs and JPGs to no success.
Does anyone know why this is happening and how I can fix it?

Delete the entire collection_files folder and the cxml file. Republish the images and then add the newly published collection_files folder and cxml file to your project.

Related

Images not displayed using localhost, after pushing code to github

Live Site
Repo
I just uploaded this project and the live site works fine. But for some reason the images are now gone when viewing it on localhost. It worked fine until I pushed and published the project.
The images folder is inside the public folder.
Also I just realized that when viewing the site on mobile, I seem to be able to scroll beyond the content (right and down). I’m not sure why that is..I also noticed that when viewing the site in the browser and enable touch simulation. Disabling it, it doesn't scroll beyond the content.
you have specified the file location as "./images/client-databiz.svg" for images
which is need to open the folder named images under the current JS file presents.
since during deploying it will build and make your code into static file
refer
you need to use "../../public/images/client-databiz.svg" to preview that actually.
I hope it will also work in production.

Adding local image in Jupyter SQL notebook

Started using Azure data studio and creating documentation for some SQL processes in our system.
As part of that I need to include a flow diagram in the document. Currently I have uploaded an image to a URL and am able to embed the image in document from the URL.
But is there any way to include an image from a local folder? Please assist.
I think this is what you want.
from IPython.display import Image
Image(filename='C:/your_path/your_image.PNG',width=200, height=100)
I was interested in this also. Syntax should be (if you store images in subfolder relative to notebook):
![ssms_subquery](images/16_ssms_subquery.png)
This didn't work for me initially: rendered as a broken image icon.
Things I tried:
Make sure you have a workspace defined for your root folder. Create the folder, then select "File > Add Folder to Workspace ..."
If that does nothing, try closing and restarting ADS. I've found the rendering to be flaky from time to time after awhile or if you have been opening/closing notebooks a lot.
Related topic has been discussed previously for markdown in general (but worth asking again for ADS!), eg. How to display local image in markdown

ExtJS image not getting displayed properly

Is there some way to find out the list of images associated with an example? When i double click some example then the images are coming perfect but while implementing it in my project, I am having lots of image problems. e.g. In the Grid cell-editing example demo, when I implement it in my project then the Sort Ascending, Sort Descending and Columns images are not getting displayed. I tried running this in Chrome and FIrefox but not getting any missing image error/exception/warning as well.
Please let me know about this.
Regards,
If you just need a couple of images, you can right-click the images in the working example and click "Inspect Element". For the grid cell-editing demo, the images are '/resources/themes/images/default/grid/sort_asc.gif', '/resources/themes/images/default/grid/sort_desc.gif', and '/resources/themes/images/default/grid/grid3-hd-btn.gif'. They are referenced in the ext-all.css file, so if the images are missing in your version and you aren't seeing any console errors, your version of the css file might not reference those background images.

Preview Pane Not Displaying Correct Formatting

I am using C1 3 and am having problems with the preview pane.
The C1 site uses master pages for templates, and works correctly when published. However, it is not displaying correctly in the preview pane. It visually appears to be ignoring CSS settings.
This site was copied from an original install, on another sever, that works correctly.
Any tips and or ideas would be greatly appreciated.
*UPDATE**
In the content view, which is not working, it is using this url
http://www.abc.com/Composite/content/Frontend/Images/logo.gif
All other sites, including the published version of the site above use this url
http://cms.abc.dev/Frontend/Images/logo.gif
I am assuming the same is happening for all images and style sheet references.
However, I cannot find where this is happening. In the master page items are referenced as follows:
href="~/Frontend/Styles/layout.css"
ImageUrl="~/Frontend/Images/logo.gif"
Thats weird... have you somehow accidently configured the /Composite/Content folder as an application? Thats almost the only explanation why asp.net would expand ~ to /Composite/content/ instead of just /.
The preview-tab is handled through a wrapper-page that lives inside /Composite/content, unlike normal viewing of published pages which is handles by the root itself.
I think i found the problem...
I created a new app pool, used it, and now it works.
I guess the app pool somehow got corrupted...

Binding files from ClientBin folder into a ComboBox in Silverlight?

I was wondering if it was possible to bind some filenames in a given directory of the ClientBin folder to a ComboBox.
I'm working on this application that has a video Tutorials section. I've got a comobox that lets the user select which tutorial video they wish to see.
Right now not all the videos are completed (it's a bit time consuming) and I would like to deploy the application. It would be great if I could work on the videos later on and just upload them to my ClientBin/Videos directory and have my Silverlight App pick them up automatically without me having to go into the XAML and add the new videos to the ComboBox.
Anyone know if this is feasible?
You bet. You'll need directory browsing turned on in IIS, though. Once you've done that,
Use the WebClient's DownloadString functionality and issue a request to /Videos.
Parse the result, and you have a list of files

Resources