Link to files form another solution - file

I want to show a image what is saved in another solution in the same project.
Solution TouchUI have a folder called images.
In Solution WebUI I want to load a image from the folder. How can I do that?
<img src="../WebUI/Images/movieimages/#item.MoviePicture" alt="#item.MovieName" class="img-thumbnail">
gives me a 404. Anybody an idea?

I copied the files to the new solution in stead of linking to another solution.

Related

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

how can nightmare upload a image file?

Well.I use nightmare to do some test taskes.It's so good for basing on electron and phatomjs.
Now, I have a question about how can I upload a image file through nightmare?
Well.I find a plugin named night-upload. After it upload a image file successfully, the page become white and has nothing to show.
So.Is there some solutions to solve this problem?
Well. The plugin of night-upload can upload a image file through nightmare.
I had write relative path of image file before. So it has the problem as I said: the browser of electron will become white and show nothing, the main process has hang up. Now I change the image file to absolute path. It works!

Constrain what files you can see with angularjs ng-flow

I'm trying to implement a flow file uploader but I can't see how to make it that the user can only select image files. I copied the example so I have
<div
data-flow-files-submitted="$flow.upload()"
flow-file-added="!!{png:1,gif:1,jpg:1,jpeg:1}[$file.getExtension()]"
name="introduction-picture-upload">
But I still see all files available in my upload window, not just images. Any help would be appreciated - thanks!
Seems it's
<button
flow-btn
flow-attrs="{accept:'image/*'}">
Not well documented !

Using CakePDF Image not showing

I am using CakePHP 2.3.6. I setup everything alright, bootstrap & core files are ok.
Now, the pdf file is generating nicely, but it doesn't have any image. But, my view file has an image, because I want that image in my generated pdf file.
I tried using fullbase=>true, but still my image is not showing in the pdf file
Can anyone help me ?
Thanks
Ok, I got a solution to this. Search for the following line
def("DOMPDF_ENABLE_REMOTE",false);
Make the line like bellow
def("DOMPDF_ENABLE_REMOTE",true);

Wijmo and Dotnetnuke 7. Has anyone tried it? Not working

Has anyone tried using the wijmo widgets in DNN 7.+ ?
For my example I'm trying to use the upload widget.
If I upload to a path on my server and test, it works (As in the dialog appears to choose a file... the popup)
If I load it within a page on the site, the button shows but nothing happens when clicked.
All script files and necessary markup are correct.
No console erros, nothing. Very confusing.
Wijmo widgets work in DNN 7.+.
The “action” option should be changed to the server’s address of upload.ashx file.
Note: the upload sample can’t be opened by file path(d:/……/upload.html), please make sure it is opened on server.
Thanks,
Richa

Resources