Is there a way to generate an image preview of images added into a SharePoint list?
The scenario is the following:
For image files (.jpg, .tif, .png) that are added into a SharePoint document library which are then listed or viewed via "list view web part on another page" when the user hovers over any of the image files a popup window or anything similar should be displayed showing a preview of the image. Is this possible to achieve in SharePoint and how would this be done.
Would css alone achieve this, or will it require c# code behind.
Many thanks,
Why not use SharePoint picture libraries ? There you got thumbnails, preview and so on.
Or you could make an custom solution using ex. jquery fancybox .
I would suggest that you use standard SharePoint or connect the hover effect on the picture library on your own list.
see
http://office.microsoft.com/en-us/windows-sharepoint-services-help/working-with-sharepoint-picture-libraries-HA001123335.aspx
http://www.youtube.com/watch?v=olaGyX4g2Cc
Related
I am using forms application to import a SVG to a picture box and I am trying to find if it is possible to click a certain part/section of the SVG to highlight the clicked "segment".
If not possible in forms, is it possible with asp.net?
Update:
I follow the example on this site: https://www.codementor.io/#lasithapetthawadu/using-vector-svg-graphics-in-c-net-k9y1ybc8a
the sample code is in a download link on that site.
Thanks in advance
Beest, Marcus
I am coding a C# forms application where I have a ListView with multiple items.
I am wanting to move these items up and down and am wondering if there is a forms control that I can use for this, or should I get my own image, and add this to a simple button for both the up and down action?
Yes you simply create your own button with the desired image.
If you like to use the Microsoft images, you should take a look at the folder %ProgramFiles(x86)%\Microsoft Visual Studio 10.0\Common7\VS2010ImageLibrary. There you'll find (in another sub-folder) a VS2010ImageLibrary.zip file which contains lots of Microsoft images you are allowed to use within your applications. If you can't find your desired resolution you can take a look if you find a corresponding .ico file, cause these normally contains more resolutions then directly available as .png or .bmp file.
I am developing an intranet web application for my company and now I need to add Print Functionality that enables the admin to print some charts (either Microsoft Charts or Dundes) and GridViews in PDF. So is there any simple way to implement this functionality?
I tried to use iTextLibrary but it is very difficult to use and customize.
Microsoft Report Viewer controls? it is not direct printing but it only takes one extra click to export to pdf.
I’m trying to show PDF files in Windows Form WebBrowser control. I do this by WebBrowser.Navigate() method. It is work when I want show one PDF file, which is not enough for me. I need when a user clicks a button , WebBrowser show another PDF file. What I have to do?
Avoid using WebBrowser control just to show a pdf. Try using one of the many free PDF libraries available for .net such as PDFSharp.
This will allow you to draw pdf's on to the Form and using TabControl you can create tabs programmatically and place a new pdf viewer inside of the tab.
You could easily make a 2 different files PDF viewer (side by side or top and bottom) by using the PDFSharp. Or you can use the ActiveX control for Adobe Reader.
Edit: It was my understanding that PDFSharp can render pdf's directly. This can only be done by exporting the page to a Jpeg/Png and then displaying the images. Sorry for any confusion.
At your place I'd do tabControl, and foreach tabControl, I'd put a webbroswer inwhich there would be a PDF by Tab.
EDIT : A WebBroswer isn't like internet explorer. Internet Explorer has the "Feature" of having multiple tabs (just like Chrome, etc). The WebBroswer Element is only the content of the tab :)
EDIT2 : After many years into this, I would recommend using a PDF library also. As a prototype usecase it might work, but in real world, we never know how many there will be. the best would probably to: either let the option to the user to open in a competent software i.e. Acrobat Reader where tab is natively used (DC), or use a PDF Library.
What i think is that you are facing a very simple navigate issue here. I have worked out a project for you, take a look at it, I hope it will solve your issue.
download here.
So i created a web site a long time ago using a designer alot like frontpage + expression design put together, and since then Ive gotten more into coding, and I'm learning html, CSS, and all that good stuff.. and i have this re-designed header that Ive made here:
http://prntscr.com/8zct
So what I need to know, is how i can get it so that when a user clicks on one of the links in the header design it will redirect to a page. and also if possible, how to make it so when a user hovers over a link a drop down may appear with other options, EDIT: I'd like to be able to add a backround image to the drop down navigation menu
As me being quite new to this sort of stuff, could anybody help me achieve this?
PS. I'm working in Visual Studio with ASP. but that doesn't change anything about the html and css stuff. just letting you guys know.
To navigate based on clicks on certain areas of an image, read about image maps.
To create menus and other active components, read about JavaScript (also recommended: jQuery).
You can also create divs that are clickable to use as hot spots on an image. that way you could add a background image to that div if ti's hovered/clicked, whereas image maps does not afford you that opportunity.