Welcome, Guest. Please login or register.

ShoutBox!

 

Skhilled

2024-08-09, 18:19:29
Awww! Poor thing! LOL
 

Ken

2024-08-09, 09:20:52
 

Skhilled

2024-07-06, 10:33:18
 :D
 

Ken

2024-07-06, 06:40:47
Happy Saturday after the 4th of July!
 :fireworks:
 

Skhilled

2024-07-04, 20:27:02
Happy Day Off From Work!  :D
 

Ken

2024-06-25, 06:23:12
84... who knew?  laughing7
...2013 was my *magic* year
 

Skhilled

2024-06-14, 22:09:12
I hope so! LOL
 

Ken

2024-06-14, 21:41:30
My B-Day is forthcoming and maybe it will be far enough along so that I can be a regular Dancing Fool for that day!!! :banana: :2funny:
 

Ken

2024-06-14, 21:38:38
Happy Friday everyone! I'm  SOOO glad to see Friday and not just because it's the weekend, but because it marks one more day in the recovery of my foot!  laughing7

Scrubmeister

2024-04-19, 10:32:40
Good to see the site back faster than ever. :)

Recent Topics

TP Articles


Search in titles
Search in article texts

Author Topic: tinypix image upload smf mod  (Read 17900 times)

0 Members and 2 Guests are viewing this topic.

Offline Lesmond (OP)

tinypix image upload smf mod
« on: September 30, 2017, 02:58:22 PM »
I made this just for friends only, (its not going on the SMF Mod site)
Quote
This will add a simple image upload bbc code to the post.

Author: Lesmond
Type: New Enhancement
Available since: 2017
Latest version: 1.3
Compatible with: SMF  2.0.14


This mod integrates image hosting with SMF. It makes image upload very simple.
All images are hosted on remote image hosting service, not on your forum.
When user uploads image, script creates a thumbnail for image and appends bbcode to post user is typing.
User doesn't need to know anything about bbcode. And this mod is very simple to install.

Powered by TinyPiX



You will get an error with "Install in Other Themes" but just ignore that and go ahead with the install.
You will get a button under the post text box click that and a new window opens, drag or upload a image, you can also use the URL of an image if you wish.

All images are stored on my dedicated server, so no space is taken here.


Let me know if you need any help with this... I will be hiding ;)

package attached

Updated to fix "Install in Other Themes" error

Now includes upload in PM's

Updated to fix image icon in shout... I hope  :o
« Last Edit: October 05, 2017, 12:09:55 PM by Lesmond »

Offline Skhilled

  • Administrator
  • *
  • Posts: 9429
  • Gender: Male
  • All of my passwords are protected by amnesia...
  • View Gallery
    • Buildz Hosting
Re: tinypix image upload smf mod
« Reply #1 on: September 30, 2017, 03:18:45 PM »
Great job, Les! ;)

Offline Ken

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11943
  • Gender: Male
  • View Gallery
Re: tinypix image upload smf mod
« Reply #2 on: September 30, 2017, 08:29:57 PM »
Works great Les!  :thumbup:

"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Lesmond (OP)

Re: tinypix image upload smf mod
« Reply #3 on: September 30, 2017, 09:52:09 PM »
thanks ken, works better here


Offline Skhilled

  • Administrator
  • *
  • Posts: 9429
  • Gender: Male
  • All of my passwords are protected by amnesia...
  • View Gallery
    • Buildz Hosting
Re: tinypix image upload smf mod
« Reply #4 on: October 01, 2017, 05:44:45 AM »
One question, is the sizing in the coding or does it size according to what is set in SMF?

Offline Ken

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11943
  • Gender: Male
  • View Gallery
Re: tinypix image upload smf mod
« Reply #5 on: October 01, 2017, 07:26:09 AM »
You get edit options when you are selecting the image for uploading.




"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Skhilled

  • Administrator
  • *
  • Posts: 9429
  • Gender: Male
  • All of my passwords are protected by amnesia...
  • View Gallery
    • Buildz Hosting
Re: tinypix image upload smf mod
« Reply #6 on: October 01, 2017, 07:30:31 AM »
Oh! I totally missed that little dropdown on the top left with the signin and all! LOL

Offline Ken

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11943
  • Gender: Male
  • View Gallery
Re: tinypix image upload smf mod
« Reply #7 on: October 01, 2017, 07:35:38 AM »
Took me a couple of tries to get it right... maybe Les needs to write a little how-to???  laughing7
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Skhilled

  • Administrator
  • *
  • Posts: 9429
  • Gender: Male
  • All of my passwords are protected by amnesia...
  • View Gallery
    • Buildz Hosting
Re: tinypix image upload smf mod
« Reply #8 on: October 01, 2017, 07:38:53 AM »
I only clicked the button below and added an image I had saved and it worked. Nothing else to do and no need to login although you can and it will be saved to your account.

Offline Ken

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11943
  • Gender: Male
  • View Gallery
Re: tinypix image upload smf mod
« Reply #9 on: October 01, 2017, 07:41:44 AM »
Testing...

The size edit function works. (will only decrease the size)

"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Lesmond (OP)

Re: tinypix image upload smf mod
« Reply #10 on: October 01, 2017, 09:53:44 AM »

Offline Lesmond (OP)

Re: tinypix image upload smf mod
« Reply #11 on: October 01, 2017, 10:06:49 AM »
One question, is the sizing in the coding or does it size according to what is set in SMF?
its set in the package, the only way to change the image size it to reinstall the package,
the one I have here was set to thumbnail.

If you want you can use the attachment  below, it will give you an medium image

« Last Edit: October 01, 2017, 12:25:01 PM by Lesmond »

Offline Ken

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11943
  • Gender: Male
  • View Gallery
Re: tinypix image upload smf mod
« Reply #12 on: October 01, 2017, 11:04:15 AM »
Hey Les, can this be coded to work with the PM system? We have the attachments function working with PM's and me thinks that this tiny_pic app would be a nice addition.  :thumbup:
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Skhilled

  • Administrator
  • *
  • Posts: 9429
  • Gender: Male
  • All of my passwords are protected by amnesia...
  • View Gallery
    • Buildz Hosting
Re: tinypix image upload smf mod
« Reply #13 on: October 01, 2017, 11:21:43 AM »
Agreed!

Offline Lesmond (OP)

Re: tinypix image upload smf mod
« Reply #14 on: October 01, 2017, 11:25:33 AM »
Hey Les, can this be coded to work with the PM system? We have the attachments function working with PM's and me thinks that this tiny_pic app would be a nice addition.  :thumbup:
It took me all my time to make this one, I don't think I could work out how to do that, but worth looking into