Advertisement:
GCWebhosting

Author Topic: IMGUR Embedded In SMF?  (Read 2845 times)

Offline CDLehner

  • Semi-Newbie
  • *
  • Posts: 51
IMGUR Embedded In SMF?
« on: July 01, 2017, 10:53:37 AM »
Sorry; probably a silly question.

I just switched from the (criminal) Photo*ucket...that I've been using for years; to IMGUR. But I can't seem, to get their links to enbed on my 2.0.14 board.

http://imgur.com/a/6zc2n

nor...

<blockquote class="imgur-embed-pub" lang="en" data-id="a/6zc2n"><a href="//imgur.com/6zc2n">COVERS</a></blockquote><script async src="//s.imgur.com/min/embed.js" charset="utf-8"></script>

Thanks,
CD

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 58,339
  • Gender: Male
    • Kindred-999 on GitHub
Re: IMGUR Embedded In SMF?
« Reply #1 on: July 01, 2017, 11:37:42 AM »
that won't work... smf does not allow HTML in posts..


You would use an IMG (BBC) tag...

[img]https://i.imgur.com/9BmmaPW.jpg[/img]



images need to be actual IMAGE files... not pages like http://imgur.com/a/6zc2n (that is a web page with an image in it, not the image itself)
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 21,402
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: IMGUR Embedded In SMF?
« Reply #2 on: July 01, 2017, 12:43:58 PM »
Based on your post I just added support in my S.A.V.E mod to auto embed imgur

https://custom.simplemachines.org/mods/index.php?mod=2681
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline Steve

  • Freak
  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,499
  • Gender: Male
  • I have not yet begun to procrastinate.
Re: IMGUR Embedded In SMF?
« Reply #3 on: July 01, 2017, 05:17:41 PM »
You are awesome vb. :D
Online Manual

Please do not PM me for support.

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 21,402
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: IMGUR Embedded In SMF?
« Reply #4 on: July 01, 2017, 05:27:37 PM »
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline Steve

  • Freak
  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,499
  • Gender: Male
  • I have not yet begun to procrastinate.
Re: IMGUR Embedded In SMF?
« Reply #5 on: July 01, 2017, 05:42:39 PM »
Lol :P
Online Manual

Please do not PM me for support.

Offline CDLehner

  • Semi-Newbie
  • *
  • Posts: 51
Re: IMGUR Embedded In SMF?
« Reply #6 on: July 01, 2017, 05:48:18 PM »
Based on your post I just added support in my S.A.V.E mod to auto embed imgur

https://custom.simplemachines.org/mods/index.php?mod=2681

Wow...thanks so much! Mine looks like this...

Which is fine; but am I doing something "wrong"?

-CD


Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 21,402
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: IMGUR Embedded In SMF?
« Reply #7 on: July 01, 2017, 06:21:38 PM »
Yeah that is based on the embed code from imgur that hey gave.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline CDLehner

  • Semi-Newbie
  • *
  • Posts: 51
Re: IMGUR Embedded In SMF?
« Reply #8 on: July 05, 2017, 08:23:30 AM »
So VB...I am very grateful, for you're accommodating the IMGUR imbed; but I'm not crazy, about the "framing" (understanding that's not on your end; but rather the code they give).

You see...I've been with PhotoF*ckIt, all these years; until they decided to pull...what I consider, that near criminal act.

Now I'm looking for a new host. I've tried IMGUR, FLICKR, and Google Pics; and can't seem to get any of them, to embed...the way PB simply used to.

Sorry; any help you could provide? A point in the right direction??

Thanks,
CD

Offline Steve

  • Freak
  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,499
  • Gender: Male
  • I have not yet begun to procrastinate.
Re: IMGUR Embedded In SMF?
« Reply #9 on: July 05, 2017, 08:27:48 AM »
Tinypic? Does that embed? I've forgotten ...
Online Manual

Please do not PM me for support.

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 5,145
  • Gender: Male
    • i30 Owners Club
Re: IMGUR Embedded In SMF?
« Reply #10 on: July 05, 2017, 08:36:13 AM »
Give this a whirl

https://imgbb.com/mod

Offline Jailer

  • Jr. Member
  • **
  • Posts: 140
  • Gender: Male
    • Bored Guy Blog
Re: IMGUR Embedded In SMF?
« Reply #11 on: July 05, 2017, 05:21:23 PM »
Give this a whirl

https://imgbb.com/mod

This mod works great although it crops the thumbnail view.

Postimage has their own mod as well and scales the thumbnail down correctly.

https://postimages.org/plugins

Either one works equally well and are extremely easy to use for the technically challenged users.

Offline CDLehner

  • Semi-Newbie
  • *
  • Posts: 51
Re: IMGUR Embedded In SMF?
« Reply #12 on: July 11, 2017, 08:56:55 AM »
Give this a whirl

https://imgbb.com/mod

I would; if they'd ever, send confirmations or return emails!

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 5,145
  • Gender: Male
    • i30 Owners Club
Re: IMGUR Embedded In SMF?
« Reply #13 on: July 11, 2017, 03:47:06 PM »
Give this a whirl

https://imgbb.com/mod

I would; if they'd ever, send confirmations or return emails!

Why do you need to email them? It's a simple, free download.

Offline palmdoc

  • Semi-Newbie
  • *
  • Posts: 28
Re: IMGUR Embedded In SMF?
« Reply #14 on: October 27, 2018, 07:27:23 PM »
It'd be nice to have a Mod where you could upload to Imgur via a button shortcut in the Editor, then automatically pastes the BBCode in the message once upload is complete.

Offline GigaWatt

  • The Smiley Guy
  • Support Specialist
  • SMF Hero
  • *
  • Posts: 2,084
  • Gender: Male
    • Macedonian electronics forum
Re: IMGUR Embedded In SMF?
« Reply #15 on: October 27, 2018, 08:58:26 PM »
postimages.org has a mod that does this ;).
"This is really a generic concept about human thinking - when faced with large tasks we're naturally inclined to try to break them down into a bunch of smaller tasks that together make up the whole."

"A 500 error loosely translates to the webserver saying, "WTF?"..."

Offline palmdoc

  • Semi-Newbie
  • *
  • Posts: 28
Re: IMGUR Embedded In SMF?
« Reply #16 on: October 30, 2018, 05:48:31 PM »
postimages.org has a mod that does this ;).

Thanks for the tip. Will check it out. I wonder if images uploaded there are unlimited?

Offline GigaWatt

  • The Smiley Guy
  • Support Specialist
  • SMF Hero
  • *
  • Posts: 2,084
  • Gender: Male
    • Macedonian electronics forum
Re: IMGUR Embedded In SMF?
« Reply #17 on: October 30, 2018, 11:01:53 PM »
What do you mean by unlimited? There is a max file size limit, but other than that, I don't think there are any other limits.

Oh, yeah, and you can't direct link images that are larger than a certain width and height. I think that the max allowed width and height are 1024 x 768. If any of these values are hit, the image gets resized and you get a link to a smaller image, but within an URL tag that will lead to the larger image if you click on it ;).
"This is really a generic concept about human thinking - when faced with large tasks we're naturally inclined to try to break them down into a bunch of smaller tasks that together make up the whole."

"A 500 error loosely translates to the webserver saying, "WTF?"..."

Offline pocttopus

  • Jr. Member
  • **
  • Posts: 352
  • Low pressure
    • @pocttopus on Twitter
Re: IMGUR Embedded In SMF?
« Reply #18 on: December 01, 2018, 04:58:14 AM »
Hello folks,

There is an option to add picture through postimages.com. Is it possible to be made another similar mod for imgur since these pictures can be embedded in smf 2.0.15?
Here is an example: https://postimages.org/smf

Thanks!

Offline GigaWatt

  • The Smiley Guy
  • Support Specialist
  • SMF Hero
  • *
  • Posts: 2,084
  • Gender: Male
    • Macedonian electronics forum
Re: IMGUR Embedded In SMF?
« Reply #19 on: December 14, 2018, 11:58:57 PM »
Yes, it can be done. imgur does offer an API.

https://api.imgur.com/
"This is really a generic concept about human thinking - when faced with large tasks we're naturally inclined to try to break them down into a bunch of smaller tasks that together make up the whole."

"A 500 error loosely translates to the webserver saying, "WTF?"..."