Sign in to follow this  
Followers 0
FiB3R

Embed images from OneDrive

26 posts in this topic

How can we embed images from OneDrive?

 

The only code the site gives you is like this...

 

<iframe src="https://onedrive.live.com/embed?cid=3A8EDFA049958063&resid=3A8EDFA049958063%2120172&authkey=AH97zWl01Jo6GN8" width="320" height="180" frameborder="0" scrolling="no"></iframe>

 

Thanks :)

Share this post


Link to post
Share on other sites

allowing iframes is never a good idea :P so that's a no.

1 person likes this

Share this post


Link to post
Share on other sites

Is there any other way around it?

 

Would be handy, as all my photos get auto uploaded to OneDrive now.

Share this post


Link to post
Share on other sites

Test:

WP_20140807_20_00_35_Pro.jpg

EDIT: Was that what you were trying to post?

1 person likes this

Share this post


Link to post
Share on other sites

Can't you just download and then reupload as a attachment? I wonder why they don't allow direct linking? Cloudapp and Dropbox does afaik?

 

Edit: NM didn't see Nick's post when replying :P

Share this post


Link to post
Share on other sites

Test:

WP_20140807_20_00_35_Pro.jpg

EDIT: Was that what you were trying to post?

Yep, how did you do that :hmmm:

 

:woot:

Share this post


Link to post
Share on other sites

So here is what I did to post the above image:

  • Click on the link provided in the code you posted: link
  • When the picture loads, right-click on it and select "copy image location"
  • In the Neowin edit box, switch to BB code mode and write the following:

    [img="yourlinkhere"][/img]
Now actually I think the BB code has been updated to be simpler these days, but that's the way I've always linked to images.

EDIT: I should also point out that I'm using Firefox - other browsers may have the "copy image location" option elsewhere.

1 person likes this

Share this post


Link to post
Share on other sites

It doesn't link to the full size image, that would be ideal.

 

Maybe I'll just have to set flickr as my auto upload/image dump. That might actually make it easier to keep a nice OneDrive album for viewing on the Xbox or whatever.

Share this post


Link to post
Share on other sites

Test 2:

WP_20140807_20_00_35_Pro.jpg
 

 

:whistle:

Share this post


Link to post
Share on other sites

Instructions for above:

  • Click on link from the code in the first post: link
  • Click on the picture that appears in the link. This will take you to OneDrive.
  • Select "view original" at the top of the page.
  • Right-click picture, "Copy image location."
  • Use the IMG code posted above and enter the link.

Share this post


Link to post
Share on other sites

14880729235_ffb4a4b50d_c.jpg

 

As it stands, I think I'll change to flickr for now, because it works how I want it to, i.e. thumbnail linking to original with info.

Even though I have to edit out a bit of fluff from the BBCode that flickr presents to me, it's still less messing about than OneDrive.

 

Thanks for the help though, Nick ;)

Share this post


Link to post
Share on other sites

Welp, auto upload to flickr ain't working, so I guess I'm gonna have to re-evaluate my options. :rolleyes:

Share this post


Link to post
Share on other sites

auth.aspx?sru=https:%2F%2Fd6bpug.dm2301.

Hey it works - thanks man

I agree FiB3R - it was a little tedious

Share this post


Link to post
Share on other sites

No image showing here, T3X4S

Share this post


Link to post
Share on other sites

snip

Hey it works - thanks man

I agree FiB3R - it was a little tedious

make sure the image is in the public folder. can't see the image here

Share this post


Link to post
Share on other sites

Oh no kidding ? DAMN YOU MICROSOFT !!

OK - well now I know - thanks guys

Share this post


Link to post
Share on other sites

Oh no kidding ? DAMN YOU MICROSOFT !!

OK - well now I know - thanks guys

why you just yelling at MS? almost all the online storages work this way including the popular Dropbox

 

they have one public folder for sharing and then every other folder is private

Share this post


Link to post
Share on other sites

So, there is a way to actually embed a onedrive picture into a forum post.  It is not neat by any means but it works.

 

1. Click on the picture you want to share

2. Make sure sharing is set to 'view only'

3. At the top click on 'view original'

4. That url is now the link that will allow for embedding into bbcode posts (such as here)

 

I need to add that the picture does not have to be in the public folder.

Share this post


Link to post
Share on other sites

I need to add that the picture does not have to be in the public folder.

are you sure?

 

it'll post yes, but you'll be the only person able to see the image. if others can see it then that's a security issue as that could be abused to gain access to other docs/files & should be reported to MS to patch the hole

1 person likes this

Share this post


Link to post
Share on other sites

Brando is correct.

Share this post


Link to post
Share on other sites

are you sure?

 

it'll post yes, but you'll be the only person able to see the image. if others can see it then that's a security issue as that could be abused to gain access to other docs/files & should be reported to MS to patch the hole

 

That's is why it has to be set to 'view only' and not edit.  That way they can view the image and not do anything else.

Share this post


Link to post
Share on other sites

why you just yelling at MS? almost all the online storages work this way including the popular Dropbox

 

they have one public folder for sharing and then every other folder is private

It was a joke - I just spat it out, thanks for taking it so seriously and ruining the comedic genius of it :(  (another joke BTW)

1 person likes this

Share this post


Link to post
Share on other sites

It was a joke - I just spat it out, thanks for taking it so seriously and ruining the comedic genius of it sad.png  (another joke BTW)

the curse of the Internet monotoning strikes again! pinch.gif biggrin.png

Share this post


Link to post
Share on other sites

the curse of the Internet monotoning strikes again! pinch.gif biggrin.png

My bad - I am guilty of the forum faux pas -- forgot the /s at the end.   not your fault Brando

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.