News:

Wondering if this will always be free?  See why free is better.

Main Menu

Simple Image Upload

Started by Sium, March 02, 2009, 12:01:05 PM

Previous topic - Next topic

Dave llewellyn

Thanks You Purson Nice Fix, Keep up the good work.

I did not think to look on the server, tried to change the code from the SMF Theme packs my self and did not work.

Cheers Dave

fanciboy4

I need images to be stored in my server not third party..
Your knowledge pays..<br /><br />Free music download<br />For video  <br />https://metrohitz.com<br />Song Mp3
Music Jam Mp3

ModelBoatMayhem


I still haven't found a simple, 1-click solution but have a look at Chevereto.

That's my firm opinion.... but what do I know?!

-Rock Lee-

Quote from: fanciboy4 on December 10, 2017, 03:42:08 AM
I need images to be stored in my server not third party..

And attach them does not help? I use an upload of my own, quickly assemble with some php although I had to limit it because many people used it badly ...


Regards!
¡Regresando como cual Fenix! ~ Bomber Code
Ayudas - Aportes - Tutoriales - Y mucho mas!!!

Kindred

looking at installing this mod, but I foresee issues.

The biggest issue that I see, right out of the gate (aside form the BR to \n change required and detailed above) is that this mod installs the javascript call into index.template.php...

This means that the javascript is called on EVERY PAGE.
This is improper, IMO... it should only be called on the Post.template and the Display.template pages, because those are the only pages it would be used on...
Слова
Украина

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Jailer

Postimage has a mod that supports SMF too and doesn't modify index.template.php.....just sayin.........

fanciboy4

Quote from: Rock Lee on December 10, 2017, 08:16:13 PM
And attach them does not help? I use an upload of my own, quickly assemble with some php although I had to limit it because many people used it badly ...


Regards!

Not bad at all. Its still serves.

Keep your good work going.
Your knowledge pays..<br /><br />Free music download<br />For video  <br />https://metrohitz.com<br />Song Mp3
Music Jam Mp3

Andreso

I love this mod! but only i have two things that i don't like from this mod:

1: Every time I put an image in the post, this text "<br />" appears on both sides of the image, so i need to delete everytime that i post a image that text.

Example:

2: The images are shortened, and small, so are not showed completely, and the gifs uploadeds are not animated, for watching the entire image and the gifs with movement you need to click the image, and that's for me the worst thing, so if you can, fix this.

Anyway, this is a great mod, and helps very much, so i wish you luck!

Kindred

#208
Well, given that the mod authors never repsonded to my concern, here or on their own site...

the index.template.php code add should be corrected

this is what the code should look like after adjustment...


if ($context['current_action'] == 'post') {
  echo '
    <script type="text/javascript" async src="Themes/default/scripts/imgbb.js" charset="utf-8"></script>';
  }
  echo '
</body></html>';


this way, the image javascript is ONLY loaded on the post page - not on every page load.


Incidentally, Andreso -- the <br /> statement added will properly parse as a new line when posted, if you have "allow basic html" in your post settings.
Otherwise, you can open the javascript file imgbb.js in Themes/default/scripts and delete the <br /> (leaving just "". This will stop the insert from adding a newline around each image.
Слова
Украина

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Andreso

Quote from: Kindred on January 22, 2018, 06:03:09 PM
Well, given that the mod authors never repsonded to my concern, here or on their own site...

the index.template.php code add should be corrected

this is what the code should look like after adjustment...


if ($context['current_action'] == 'post') {
  echo '
    <script type="text/javascript" async src="Themes/default/scripts/imgbb.js" charset="utf-8"></script>';
  }
  echo '
</body></html>';


this way, the image javascript is ONLY loaded on the post page - not on every page load.


Incidentally, Andreso -- the <br /> statement added will properly parse as a new line when posted, if you have "allow basic html" in your post settings.
Otherwise, you can open the javascript file imgbb.js in Themes/default/scripts and delete the <br /> (leaving just "". This will stop the insert from adding a newline around each image.

@Kandred but you don't explained me my second problem, and for me the most annoying, the image cut and gifs without movement, why i need to click the image and open it in a new tab to see it complete? and if is a gif i need to click it and open it in a new tab for see the movement, this addon is great but has that problem that constantly annoys me :-\

Kindred

That will always happen with a resized gif...
Слова
Украина

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Andreso

Quote from: Kindred on February 02, 2018, 09:43:34 PM
That will always happen with a resized gif...

@Kandred well, someday this addon will be updated and will be possible upload images with his original size? and gifs with movement?

Andreso

Quote from: Kindred on February 02, 2018, 09:43:34 PM
That will always happen with a resized gif...

Or even better, a option for limit the size of the image, so a image of 1024x768 will be resized to 800x600 but without cutting the image, only resize it

airdave

Was considering dumping the Imagepost mod for this Imgbb mod instead.
Installed Imagepost about a year ago and its worked okay up until now.

I recently experienced the .org to .cc change...which caused a small disruption with my member's posts.
I used the censored words fix to resolve the problem (without having to update every post on my site)
but some members used thumbnail posts and the links to the remote images don't work any more.
There are too many images/posts to fix...so this is frustrating.

And, I have read more than once, that Imagepost is "unreliable" and I am afraid this problem won't be our last.

Do you recommend I dump Imagepost for Imgbb?
Any word on whether the Imgbbmod has been fixed/updated to resolve the issues talked about here??


After reading this thread, I am now concerned about the Imgbb mod...I don't want to deal with having to remove <br code thingies
or modify files on the server, or fix javascript problems or anything like that.
I just want something easy for my members to  post images in their posts without me having to host those images



siradams

We've started having problems as uploading images with the Upload Picture button on my forum site.

Like below;


delta5

Is there any chance of someone changing this mod so it will post the code for the full size image instead of the thumbnail?

-Rock Lee-

Quote from: delta5 on June 02, 2018, 06:07:23 PM
Is there any chance of someone changing this mod so it will post the code for the full size image instead of the thumbnail?

I do not think it's possible because copyright has the mod however I'm not sure if you can only make it personal for your site!


Regards!
¡Regresando como cual Fenix! ~ Bomber Code
Ayudas - Aportes - Tutoriales - Y mucho mas!!!

mayheptad

Hello loyal smf members
i download and installed this mod on smf 2.0.15 with studio theme
and the installation was successfull.
but the mode did not add any effect when i tried to post in my forum
i did not see "add an image tab"

and there is no where to manage the mod in the admin > modification setting

Kindred

when you installed it, did you check the box for it to be applied to the studio theme?

(that box is not checked by default)
Слова
Украина

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

mayheptad

whaoooo
thank you very much at kindred
i did not check it to be applied with studio theme

i just did  that now and its working fine
thank you very much

Advertisement: