How do I add an image to a URL item in a SharePoint document library? - image

I am building a document library in sharepoint that contains files and URLs. The files all have an image that acts as a preview to the document. However, all the URLs all have the same image.
How can I add unique images, or just something different than the default image, to the URL items in the library?

In the Sharepoint document, different icons will be displayed according to the type of each file, which is to simply distinguish the type of file, not a thumbnail. And cannot be changed to a different icon. This is by design.

Related

Uploading and referencing custom images in BigCommerce/Stencil

Recently started work on a BigCommerce project and on the homepage I want to have a theme area where normal site admin users can upload their own images based on holidays (Xmas, halloween etc) in the theme editor.
I know how to add in some custom elements in the theme editor using the Schema and Config files (headings, text, font colours etc), and how to reference them in the homepage. I'm also fine with referencing set images in the assets folder which aren't going to change, and manually coding references to them.
However I can't quite seem to work out how to add a custom image upload to the theme editor, or how to reference it in a page. Can't seem to find any answers in the Stencil documentation or usual Google searches etc either.
The Stencil Theme Editor currently only supports the file upload data type in the Optimized One-Page Checkout customization settings, but there are a couple of possible workarounds to allow the user to upload their custom background image and then reference it in Theme Editor settings:
One option would be to have the user upload their image to WebDAV, making sure that their image followed a naming convention that you specified. For example, the Halloween image could be required to have the file name halloween.png. You could map that value to a Theme Editor dropdown setting for Holiday Background>Halloween.
Another solution might be to have the user upload their image to WebDAV as mentioned above, but instead of a dropdown menu, you could have the user type their file's name into a text input setting in the Theme Editor. Keep in mind though that there's a 64 character limit for input values.
Hope this helps!
There are 4 ways to get images into the BigCommerce store.
You can:
Upload into the content folder through webdav. Then the images would be referenced like url.com/content/image.jpg. This does require a webdav connection and while everything does point you to using file managers like cyberduck, you can actually map a drive to a network resource to make this super easy. This mean you can create a z drive that is actually your bigcommerce content upload through webdav. It's pretty easy to set up and for customers to use. The drawback is that these files do not get put on a CDN so there's a little loss of performance.
Upload into the theme's images folders. This is complex and would require your client to figure out the stencil local dev connection and push versions up to their store. This would allow the images to be CDN'd but is super complex and your clients won't figure it out... It could also expose you to some long-term version control issues as they may be overwriting you or vice versa.
You can use the media manager to upload images. If you're referring to them in code, an easy trick is when your clients want to replace an image, to delete it and upload a new one with the exact same name... then the reference doesn't break. This is the easiest way to deal with site-wide issues from the client-side. Images are CDN'd this way as well.
You can consider using the marketing banner function for semi-temporary marketing messages. This is what it is made for, the images will be CDN'd and it's full GUI with no techy connections for your clients to figure out. This is perfect for banners that span a single page, but I don't think there is currently a side-wide setting for locations.

Combining ImageCropper with MediaPicker in Umbraco 7

As requested in this thread on our.umbraco, i want to create a new property editor, that allows for the content editor to select an image both from their local hard-drive and the media archive, to then be cropped right in the content section. Basically combining two already existing property editors.
This image gives a general idea about what i want to achieve:
http://i.imgur.com/DAqyKeT.png
Right now it is possible to use the image cropper on the images in the media section, but it would be more user friendly to have this functionality in the content section.
I am quite new to Umbraco and creating custom property editors, but I would like to know if this is possible.

How to configure IBM Filenet Content Navigator to view multi-content document?

I have a document which consists of multiple contents, let's say a msword file, an jpeg image file and a mp4 video file, and when the user clicks on that document in content navigator, he must be able to see the contents available as we get in Workplace XT.
A separate link for msword,jepg and mp4. Is it possible to configure ICN like this?
ICN does not provide an option to view multiple content elements as separate file - like Workplace / XT. However, using the viewer, you can navigate between multiple content elements. If you have a requirement to provide this option, it is pretty easy. You can create a plugin for displaying multiple content elements and add it to document context menu. You can probably create a custom dialog widget to display these content elements as separate links.

How to select icon from an image file

Basically in many web frameworks and templates such as jquery UI they provide an image file which contains all the icons used in a framework. What I need is to select particular icon from this image file(framework uses it for its own widgets), how to do that? I know the benefits behind putting icons in a single image file, but not the technique to retrieve them.

Extracting Local Resource Image from Winforms Form/Button/Image Property

I have an existing Winforms app that has several forms with the same button images on the two primary buttons for each form (OK and Cancel). The images are set in the VS Designer by setting Image property of Button to "Local resource" and importing the desired image.
I do not have access to the original image files. How do I extract an image from the Image property of a Button control whose Image property has been set this way?
I found a much easier method than manually decoding the Base64.
Assuming your form is called Form1:
Expand Form1.cs in Solution Explorer.
Double click Form1.resx to open the Resource designer.
Right click on the image you'd like to extract.
Choose "Export To File...".
This applies to resources with Persistence set to "Embedded in .resx". If Persistence is "Linked at compile time" the image already exists as a file in your project's Resources directory.
Actually the images are not stored in the filesystem, but rather added to the resx file of your Form (e.g. MainForm.resx) as a base64-encoded serialized representation. If you know how to, you could base64-decode that string, save the result in a flatfile and name it correctly (you must know the image type for that).

Resources