News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Simple Image Upload

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

Previous topic - Next topic

CT-Louis

Trying to use this mod, but when I install it, all my old images on the forum won't enlarge when I click on them anymore. Any ideas?
[nofollow]

Inti31

postimage.org still works fine - it is used very often by our members.
The link is directly placed into the post-area (below the smiley bar) - okay - and tinypic...



All runs fine - now my question:
I implemented a few days ago a shoutbox  - I also want to place a link to postimage.org, so member can share pictures when chatting more easy
only thing - I don't need the [img][/img] tags, also I've no luck that the code is automaticaly inserted into the shoutbox message field (name of shoutbox field=Shoutbox_message)

i guess I need a 2nd addform.html...

How do I have to modify this new addform.html that I will work with the shoutbox?

cheers, inti31

the temp solution at time is another picture hoster (pic-upload.de) which runs in an iframe


my forum
my testforum


my mods - which I only made them work for 2.0 Gold:
Topics Filter v3.2 SMF 2.0 Gold
MemberNumber

smldmr

can I disable the 'post image' link over the 'Quick reply' textbox. I want, that the user see the link only in Post page.

BaghdadGhost

Quote from: City Builder on May 16, 2011, 11:14:04 PM
In RC4 this messes up the areas of the forum where you try to select a username by typing it in and having the server bring up the possible list of names you are trying to find in your memberbase, like typing in a name for sending mail etc.

At least it does on mine.  It basically prevents that from working.

Any clues how to fix this problem?

Quote from: Sium on May 16, 2011, 10:15:40 PM
Manual Installation:

#
#-----[ OPEN ]---------------------------------------------
#

./Themes/default/index.template.php

#
#-----[ FIND ]---------------------------------------------
#

</head>

#
#-----[ REPLACE WITH ]---------------------------------------------
#

<script language="javascript" type="text/javascript">
<!--

// MOD Title: Simple Image Upload
// MOD Author: Sium < [email protected] > (N/A) http://www.postimage.org/
// MOD Version: 1.3.0

var postimage_lang="english";
var postimage_add_text="Add image to post";
var postimage_textarea_ignore_name=/username_list|search/i;

function postimage_query_string(postimage_search_name)
{
postimage_query=window.location.search.substring(1).split("&");
for(postimage_i=0;postimage_i<postimage_query.length;postimage_i++)
{
postimage_string_data=postimage_query[postimage_i].split("=");
if(postimage_string_data[0]==postimage_search_name)
{
return unescape(postimage_string_data[1]);
}
}
}
function postimage_add_code()
{
if(opener)
{
var postimage_text=postimage_query_string("postimage_text");
var postimage_id=postimage_query_string("postimage_id");
var postimage_area=opener.document.getElementsByTagName("TEXTAREA");
for(var postimage_i=0;postimage_i<postimage_area.length;postimage_i++)
{
if(postimage_i==postimage_id)
{
break;
}
}
if(opener.editorHandlemessage && opener.editorHandlemessage.bRichTextEnabled)
{
opener.editorHandlemessage.insertText(postimage_text+"<br /><br />",false);
}
else
{
postimage_area[postimage_i].value=postimage_area[postimage_i].value+postimage_text;
}
opener.focus();
window.close();
}
}
function postimage_insert()
{
var postimage_area=document.getElementsByTagName("TEXTAREA");
for(var postimage_i=0;postimage_i<postimage_area.length;postimage_i++)
{
if(!postimage_area[postimage_i].name.match(postimage_textarea_ignore_name))
{
var postimage_new_div=document.createElement("div");
postimage_new_div.innerHTML="<br />&nbsp;&bull;&nbsp;<a href=\"javascript:void(0);\" onclick=\"window.open(\'http://www.postimage.org/s1/index.php?mode=smf&amp;lang="+postimage_lang+"&amp;areaid="+postimage_i+"&amp;forumurl=\' + escape(document.location.href), \'postimage\', \'resizable=yes,width=500,height=400\');return false;\"><b>"+postimage_add_text+"</b></a><br /><br />";
postimage_area[postimage_i].parentNode.insertBefore(postimage_new_div,postimage_area[postimage_i]);
}
}
}
postimage_add_code();
window.onload=postimage_insert;
//-->
</script>
</head>

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#


It does to mine also. I also noticed that it is not functioning right when I have full editor on quick reply. It would not automatically post pack the like to the reply  :(


if anyone can solve these two problems would be great and appreciated


hellboy78

simple image upload has conflict with pretty url

I use smf 1.1.16

could someone help?

reystrife01

Resizing photos does not work on my forum, thumbnails are always posted.

Also, uploading multiple photos doesn't work.

If I upload a single photo, it will be posted on the thread but it only shows as a thumbnail (users has to click it in order to view the whole image)

I tried send an email to hxxp:postimage.org [nonactive] 2 weeks ago but until now I haven't received any reply.

Any help on this?

Thanks

Inti31

Quote from: reystrife01 on April 17, 2012, 08:29:42 PM
Resizing photos does not work on my forum, thumbnails are always posted.

this is from the old faq - and still valid, I guess

Quote
You can upload unlimited images per post will never have to worry about your images being removed for inactivity. Images will always be shown as thumbnails; you cannot add full image to your post. This image hosting service is meant to be used only for forum posts, you cannot host your avatars, smilies, rank images and other images that require hotlinking because hotlinking of full image is not allowed.

Only thing you could do:
login/register to postimage.org (it just needs a username and an email-address, no activation is required).
Create a gallery, upload your pics and then use the directlinks and copy & paste them.

cheers Inti31
my forum
my testforum


my mods - which I only made them work for 2.0 Gold:
Topics Filter v3.2 SMF 2.0 Gold
MemberNumber

Ctoshack

Everything seems to work fine except whe I go to upload it runs up to 100% then I get

Forbidden
You don't have permission to access /ads/index.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


--------------------------------------------------------------------------------

Apache Server at www.xxxxxxx.com [nofollow] Port 80


faldegort

I installed the mod, but when I upload the image, the bbc dont appear! What is the problem??

YogiBear

There is a workaround for the thumbnail...

1. host the pic with Simple Image which then inserts the code into your post

2. click Preview then click onto the thumbnail which will open another window showing the pic full size

3. right click upon that pic then go to Properties and copy the URL

4. remove the thumbnail then paste the URL into your post between img tags.

5. Click Post
SMF v2.1.3  Mods : Snow & Garland v1.4,  PHP  v.7.4.33

Bhavadasa

Perfect!!!  Exactly what I have been looking for.  Thank you very much.

zoki

Is there mod like this for 2.0.2?


Bhavadasa

Quote from: zoki on October 16, 2012, 12:48:32 PM
Is there mod like this for 2.0.2?

I'm using SMF 2.0.2.  It works for me.


fran-

Quote from: Bhavadasa on October 16, 2012, 08:48:39 PM
Quote from: zoki on October 16, 2012, 12:48:32 PM
Is there mod like this for 2.0.2?

I'm using SMF 2.0.2.  It works for me.

SMF 2.0.2  here too.  Like for Bhavadasa, not working for me either  :(    It says it installed correctly but I can't see anything when posting...
Any idea why and what we should do ?

ModelBoatMayhem

This is a great Mod and service but it is VERY Intermittent and seems subject to the weather, wind direction, phases of the moon, mood swings & how lucky someone got the night before.....!

Anyone know of something as simple but more reliable?

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

Ascot

Hi there. The installation of this mod went ok.
The only problem is: when i click upload the popup loads the img and then shows my actual url (inside it) without url insertion.

Any idea? Help plz-
Thanks in advance.

ModelBoatMayhem

This is a great Mod and service but it is VERY Intermittent and seems subject to the weather, wind direction, phases of the moon, mood swings & how lucky someone got the night before.....!
That's my firm opinion.... but what do I know?!

Sium

New version released!

http://mod.postimage.org/download/siu_smf_english.zip [nofollow]

QuoteHello,
is it possible to change the code to have the bbcode of the hotlink on the place of the thundnail?

Yes, install new version http://mod.postimage.org/download/siu_smf_english_hotlink.zip [nofollow]

Manual Installation:


#
#-----[ OPEN ]---------------------------------------------
#

./Themes/default/index.template.php

#
#-----[ FIND ]---------------------------------------------
#

</head>

#
#-----[ REPLACE WITH ]---------------------------------------------
#

<script type="text/javascript" src="http://mod.postimage.org/smf-english.js" charset="utf-8"></script>
</head>

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM


Other languages ​​are available here http://postimage.org/mod.php [nofollow]

You can also help translate the site into your language here http://postimage.org/languages.php [nofollow]
Image Hosting [nofollow] - Simple Image Upload Mod [nofollow]

ModelBoatMayhem


Yes, but is it any more reliable?


I've uninstalled as it was off-line as much as on inappropriate link pictures at the bottom (dispite using 'Family safe'), no response to emails, etc.etc.

Good product CRAP service!


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

Advertisement: