Jump to content



Photo

Embed images from OneDrive

question request suggestion

  • Please log in to reply
24 replies to this topic

#1 +FiB3R

FiB3R

    aka DARKFiB3R

  • Tech Issues Solved: 6
  • Joined: 06-November 02
  • Location: SE London
  • OS: Windows 8.1 Enterprise
  • Phone: Lumia 930

Posted 11 August 2014 - 14:05

How can we embed images from OneDrive?

 

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

 

<iframe src="https://onedrive.liv...AH97zWl01Jo6GN8" width="320" height="180" frameborder="0" scrolling="no"></iframe>

 

Thanks :)




#2 Steven P.

Steven P.

    aka Neobond

  • Tech Issues Solved: 76
  • Joined: 09-July 01
  • Location: Neowin HQ

Posted 11 August 2014 - 14:06

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



#3 OP +FiB3R

FiB3R

    aka DARKFiB3R

  • Tech Issues Solved: 6
  • Joined: 06-November 02
  • Location: SE London
  • OS: Windows 8.1 Enterprise
  • Phone: Lumia 930

Posted 11 August 2014 - 14:08

Is there any other way around it?

 

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



#4 Nick H.

Nick H.

    Neowinian Senior

  • Tech Issues Solved: 15
  • Joined: 28-June 04
  • Location: Switzerland

Posted 11 August 2014 - 14:13

Test:
WP_20140807_20_00_35_Pro.jpg

EDIT: Was that what you were trying to post?

#5 Steven P.

Steven P.

    aka Neobond

  • Tech Issues Solved: 76
  • Joined: 09-July 01
  • Location: Neowin HQ

Posted 11 August 2014 - 14:13

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



#6 DeltaXray

DeltaXray

    Neowinian

  • Joined: 08-February 14

Posted 11 August 2014 - 14:14

Edit: nevermind :s



#7 OP +FiB3R

FiB3R

    aka DARKFiB3R

  • Tech Issues Solved: 6
  • Joined: 06-November 02
  • Location: SE London
  • OS: Windows 8.1 Enterprise
  • Phone: Lumia 930

Posted 11 August 2014 - 14:17

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:



#8 Nick H.

Nick H.

    Neowinian Senior

  • Tech Issues Solved: 15
  • Joined: 28-June 04
  • Location: Switzerland

Posted 11 August 2014 - 14:21

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.

#9 OP +FiB3R

FiB3R

    aka DARKFiB3R

  • Tech Issues Solved: 6
  • Joined: 06-November 02
  • Location: SE London
  • OS: Windows 8.1 Enterprise
  • Phone: Lumia 930

Posted 11 August 2014 - 14:25

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.



#10 Nick H.

Nick H.

    Neowinian Senior

  • Tech Issues Solved: 15
  • Joined: 28-June 04
  • Location: Switzerland

Posted 11 August 2014 - 14:28

Test 2:

WP_20140807_20_00_35_Pro.jpg
 

 

:whistle:



#11 Nick H.

Nick H.

    Neowinian Senior

  • Tech Issues Solved: 15
  • Joined: 28-June 04
  • Location: Switzerland

Posted 11 August 2014 - 14:32

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.


#12 OP +FiB3R

FiB3R

    aka DARKFiB3R

  • Tech Issues Solved: 6
  • Joined: 06-November 02
  • Location: SE London
  • OS: Windows 8.1 Enterprise
  • Phone: Lumia 930

Posted 11 August 2014 - 14:38

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 ;)



#13 OP +FiB3R

FiB3R

    aka DARKFiB3R

  • Tech Issues Solved: 6
  • Joined: 06-November 02
  • Location: SE London
  • OS: Windows 8.1 Enterprise
  • Phone: Lumia 930

Posted 11 August 2014 - 15:31

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



#14 T3X4S

T3X4S

    Neowinian

  • Tech Issues Solved: 3
  • Joined: 28-October 13

Posted 11 August 2014 - 15:39

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


Hey it works - thanks man

I agree FiB3R - it was a little tedious

#15 OP +FiB3R

FiB3R

    aka DARKFiB3R

  • Tech Issues Solved: 6
  • Joined: 06-November 02
  • Location: SE London
  • OS: Windows 8.1 Enterprise
  • Phone: Lumia 930

Posted 11 August 2014 - 15:46

No image showing here, T3X4S