Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: naijaboost on March 23, 2013, 07:44:39 AM

Title: Image not showing with Post
Post by: naijaboost on March 23, 2013, 07:44:39 AM
anytime am using image inside a post, it will show "message body empty" and if i don't use any image with the post, it will show the post but it will be without images. please help me so that images will be showing with posts on my forum.
Title: Re: Image not showing with Post
Post by: Kindred on March 23, 2013, 08:55:12 AM
SMF version?
Mods installed?
URL?
Title: Re: Image not showing with Post
Post by: kat on March 23, 2013, 12:07:22 PM
Quote from: naijaboost on March 23, 2013, 07:44:39 AM
anytime am using image inside a post

As an inline image, between [img][/img] tags? Or, as an attachment?

If it's as an attachment, just put a "." or a smiley in the message body, or something. There was a mod, for this. But, I believe it was for an older version of SMF.
Title: Re: Image not showing with Post
Post by: naijaboost on March 25, 2013, 03:14:48 AM
Quote from: Kindred on March 23, 2013, 08:55:12 AM
SMF version?
Mods installed?
URL?

SMF version=2.0.4
Mods install=
1.     Custom Permissions    1.1.0    
2.    SimplePortal    2.3.5    
3.    SMF 2.0.3 Update    1.0    
4.    SMF 2.0.4 Update    1.0    
5.    Bot Buster    1.1    
6.    Google Analytics Code    1.4

url=naijaboost.com
Title: Re: Image not showing with Post
Post by: Storman™ on March 25, 2013, 05:51:43 AM
QuoteAs an inline image, between (//) tags? Or, as an attachment?

Could you answer K@'s question above, are you referring to inline images (between img tags) or iamges as attachments ?

Might also be best if you could provide a test account so we can see what the issue is.
Title: Re: Image not showing with Post
Post by: naijaboost on March 25, 2013, 06:06:41 AM
Quote from: Storman™ on March 25, 2013, 05:51:43 AM
QuoteAs an inline image, between (//) tags? Or, as an attachment?

Could you answer K@'s question above, are you referring to inline images (between img tags) or iamges as attachments ?

Might also be best if you could provide a test account so we can see what the issue is.

i mean inline images and not attachments. when am copying images inside a post, it will show message body empty but when i removed the images and post only the message, it will submit that. i don't really know what happen because i used to post with images before and i mean post with message inside the post and not attachments. both the images inside post and attachments do work well before but now i can't put images inside posts again. please help me, did you think this happen because of the mod i install?
Title: Re: Image not showing with Post
Post by: Storman™ on March 25, 2013, 06:49:12 AM
The Custom Permissions mod might have affected it but I don't really know the mod so I couldn't really say.

Anything in the error log ?
Title: Re: Image not showing with Post
Post by: naijaboost on March 25, 2013, 08:19:35 AM
Quote from: Storman™ on March 25, 2013, 06:49:12 AM
The Custom Permissions mod might have affected it but I don't really know the mod so I couldn't really say.

Anything in the error log ?

i don't really know when i install the custom permission mod but i think is when i install the Bot Buster mod that it install with it and i think is the Bot Buster mod that is affecting the image.
About the error log, there are many error and am even thinking maybe i can delete it or not.
Title: Re: Image not showing with Post
Post by: naijaboost on March 25, 2013, 12:24:22 PM
Quote from: Kindred on March 23, 2013, 08:55:12 AM
SMF version?
Mods installed?
URL?

Kindred, please i need your assistance on this problem and you are not replying me again.

SMF version=2.0.4
Mods install=
1.     Custom Permissions    1.1.0   
2.    SimplePortal    2.3.5   
3.    SMF 2.0.3 Update    1.0   
4.    SMF 2.0.4 Update    1.0   
5.    Bot Buster    1.1   
6.    Google Analytics Code    1.4

url=naijaboost.com

i have uninstall the last mod which is Bot Buster, but i can't still post images with message on my forum and i used to use it before. anytime am trying to put image inside a post, it tell me message body empty but if i remove the image and post it like that, it will post immediately. i don't know why i can't post with image inside the message and i can attach too just that if i put the image inside the post, it won't go.
Title: Re: Image not showing with Post
Post by: mashby on March 25, 2013, 12:25:49 PM
What specific code are you using for the image?
Title: Re: Image not showing with Post
Post by: kat on March 25, 2013, 12:31:01 PM
Plus, a hunch...

Have you disabled the IMG bbc code, by any chance?
Title: Re: Image not showing with Post
Post by: naijaboost on March 25, 2013, 12:46:32 PM
Quote from: mashby on March 25, 2013, 12:25:49 PM
What specific code are you using for the image?

i don't use any code, i just copy the image and paste it inside the message and post. but since last 3 days now i can't post with image inside it instead it show "message body empty" but immediately i remove the image and send the message, the post will enter.
Title: Re: Image not showing with Post
Post by: naijaboost on March 25, 2013, 12:59:36 PM
Quote from: K@ on March 25, 2013, 12:31:01 PM
Plus, a hunch...

Have you disabled the IMG bbc code, by any chance?

please can you tell me where i can get that? i don't know if it is disabled or not
Title: Re: Image not showing with Post
Post by: Arantor on March 25, 2013, 01:07:38 PM
Admin > Forum > Posts and Topics > Bulletin Board Code. Check if img is ticked or not.
Title: Re: Image not showing with Post
Post by: Kindred on March 25, 2013, 01:43:55 PM
and if you want the image, you need to use the img bbc.... 
You can not paste an image into the browser window you can only use an image URL.
Title: Re: Image not showing with Post
Post by: lurkalot on March 25, 2013, 06:53:25 PM
Quote from: Kindred on March 25, 2013, 01:43:55 PM
and if you want the image, you need to use the img bbc.... 
You can not paste an image into the browser window you can only use an image URL.
You can if you click the toggle view button.  ;)  This image below is just copied and pasted into this post.
(http://media.simplemachinesweb.com/smf/smsite2/images/site/ombanner.jpg) (http://wiki.simplemachines.org/smf/Main_Page)
Title: Re: Image not showing with Post
Post by: Kindred on March 25, 2013, 07:57:53 PM
But that image is hosted on a web accessible location.
Title: Re: Image not showing with Post
Post by: mashby on March 25, 2013, 08:26:57 PM
Quote from: naijaboost on March 25, 2013, 12:46:32 PM
Quote from: mashby on March 25, 2013, 12:25:49 PM
What specific code are you using for the image?

i don't use any code, i just copy the image and paste it inside the message and post. but since last 3 days now i can't post with image inside it instead it show "message body empty" but immediately i remove the image and send the message, the post will enter.
It's this right here that I don't get. Copy and paste it how? I have to assume you are using WYSIWYG editor or something. But without really knowing, we're all sort of guessing. :)
Title: Re: Image not showing with Post
Post by: naijaboost on March 26, 2013, 08:39:35 AM
Quote from: Arantor on March 25, 2013, 01:07:38 PM
Admin > Forum > Posts and Topics > Bulletin Board Code. Check if img is ticked or not.

Enable bulletin board code (BBC).....tick
Enable basic HTML in posts...........tick
Automatically link posted URLs.......tick

so what did you think is the problem now?
Title: Re: Image not showing with Post
Post by: naijaboost on March 26, 2013, 08:43:46 AM
Quote from: Kindred on March 25, 2013, 01:43:55 PM
and if you want the image, you need to use the img bbc.... 
You can not paste an image into the browser window you can only use an image URL.

Enable bulletin board code (BBC)......tick
Enable basic HTML in posts...............tick
Automatically link posted URLs .........tick

everything was tick....so what did you think can cause the problem now?
Title: Re: Image not showing with Post
Post by: kat on March 26, 2013, 08:48:32 AM
When you post the image, are you doing it like this?

[img]http://media.simplemachinesweb.com/smf/smsite2/images/site/ombanner.jpg[/img]
Title: Re: Image not showing with Post
Post by: Kindred on March 26, 2013, 08:58:33 AM
repeating yourself over and over to answer DIFFERENT questions is not helpful
Title: Re: Image not showing with Post
Post by: naijaboost on March 26, 2013, 09:02:29 AM
Quote from: K@ on March 26, 2013, 08:48:32 AM
When you post the image, are you doing it like this?

[img]http://media.simplemachinesweb.com/smf/smsite2/images/site/ombanner.jpg[/img]

what i did anytime i want to post message with images before is that i will copy and paste the images inside the message and post, but now it will tell me message body empty and if i remove the image inside the message and post on the message, it will then go but with images......it is not working.
Title: Re: Image not showing with Post
Post by: kat on March 26, 2013, 09:04:41 AM
Images won't show as images, unless you use the IMG tags.

I feel like my head's having a battle with a very solid brick wall, at the moment.
Title: Re: Image not showing with Post
Post by: Kindred on March 26, 2013, 09:05:23 AM
are these images, which you are copying and pasting hosted on your LOCAL dirve or some internet accessible location?

(and are you using the WYSIWYG editor?)
Title: Re: Image not showing with Post
Post by: naijaboost on March 26, 2013, 09:16:56 AM
Quote from: Kindred on March 26, 2013, 09:05:23 AM
are these images, which you are copying and pasting hosted on your LOCAL dirve or some internet accessible location?

(and are you using the WYSIWYG editor?)

the images were copy from the internet, but even the ones that was not are not going too.

am using the WYSIWYG editor because i didn't tick it which means am using it.
Title: Re: Image not showing with Post
Post by: Kindred on March 26, 2013, 09:21:47 AM
local images will NEVER EVER EVER work.


try this.

Exit out of the wysiwyg.
type

[img]PAST URL FOR IMAGE HERE[/img]


does that work?
Title: Re: Image not showing with Post
Post by: naijaboost on March 26, 2013, 09:37:45 AM
Quote from: Kindred on March 26, 2013, 09:21:47 AM
local images will NEVER EVER EVER work.


try this.

Exit out of the wysiwyg.
type

[img]PAST URL FOR IMAGE HERE[/img]


does that work?

I don't tick the WYSIWYG box before, and where did you want me to use the code.
Title: Re: Image not showing with Post
Post by: Kindred on March 26, 2013, 09:40:23 AM
in a post.

turn off the wysiwyg.
then try to use an image URL with the actual IMG BBC tags
Title: Re: Image not showing with Post
Post by: naijaboost on March 26, 2013, 09:52:59 AM
Quote from: Kindred on March 26, 2013, 09:40:23 AM
in a post.

turn off the wysiwyg.
then try to use an image URL with the actual IMG BBC tags

Okay so i should tick the WYSIWYG box and use the image with the message like that?
Title: Re: Image not showing with Post
Post by: Kindred on March 26, 2013, 10:14:07 AM
Quote from: Kindred on March 26, 2013, 09:40:23 AM
turn off the wysiwyg.
Title: Re: Image not showing with Post
Post by: Arantor on March 26, 2013, 11:15:55 AM
*Everything*? You mean every single one of the other bbcode items was ticked?
Title: Re: Image not showing with Post
Post by: naijaboost on March 26, 2013, 12:13:21 PM
Quote from: Arantor on March 26, 2013, 11:15:55 AM
*Everything*? You mean every single one of the other bbcode items was ticked?

yes everything was tick but the WYSIWYG editor box was not tick.
Title: Re: Image not showing with Post
Post by: Kindred on March 26, 2013, 01:15:32 PM
So are you using the wysiwyg editor or not?


Why are some users so dedicated to NOT answering the questions?
Title: Re: Image not showing with Post
Post by: naijaboost on March 27, 2013, 03:49:44 AM
Quote from: Kindred on March 26, 2013, 01:15:32 PM
So are you using the wysiwyg editor or not?


Why are some users so dedicated to NOT answering the questions?

am using it before and i can post image with the message using it before but i don't know what really happen now.......i think i should just give you the username and password so that you can help me to fix the problem.
Title: Re: Image not showing with Post
Post by: lurkalot on March 27, 2013, 04:08:50 AM
Quote from: naijaboost on March 27, 2013, 03:49:44 AM
Quote from: Kindred on March 26, 2013, 01:15:32 PM
So are you using the wysiwyg editor or not?


Why are some users so dedicated to NOT answering the questions?

am using it before and i can post image with the message using it before but i don't know what really happen now.......i think i should just give you the username and password so that you can help me to fix the problem.

So again we have to ask, are you using the wysiwyg editor?  (yes / No) If yes, then are you saying it's not working as expected? (as it did before).

So in Admin > forum > forum settings, the box is not ticked meaning the wysiwyg editor is active. 

Now go to your Profile > Modify Profile, and check the setting  "Show WYSIWYG editor on post page by default."  is that box ticked?
Title: Re: Image not showing with Post
Post by: Storman™ on March 27, 2013, 04:29:16 AM
.......this is becoming my topic of the week for entertainment value.....  :P
Title: Re: Image not showing with Post
Post by: naijaboost on March 27, 2013, 05:00:22 AM
Quote from: lurkalot on March 27, 2013, 04:08:50 AM
Quote from: naijaboost on March 27, 2013, 03:49:44 AM
Quote from: Kindred on March 26, 2013, 01:15:32 PM
So are you using the wysiwyg editor or not?


Why are some users so dedicated to NOT answering the questions?

am using it before and i can post image with the message using it before but i don't know what really happen now.......i think i should just give you the username and password so that you can help me to fix the problem.

So again we have to ask, are you using the wysiwyg editor?  (yes / No) If yes, then are you saying it's not working as expected? (as it did before).

So in Admin > forum > forum settings, the box is not ticked meaning the wysiwyg editor is active. 

Now go to your Profile > Modify Profile, and check the setting  "Show WYSIWYG editor on post page by default."  is that box ticked?

the wysiwyg is active but still the images is not showing with the message.
Title: Re: Image not showing with Post
Post by: kat on March 27, 2013, 06:22:37 AM
As far as I can see, through my rather befuddled glasses, you haven't confrimed that you're using img tags, either.

If you copy/paste this into a post:

[img]http://www.katzy.dsl.pipex.com/Smileys/ghjg7na5.jpg[/img]

...do you get this image?

(http://www.katzy.dsl.pipex.com/Smileys/ghjg7na5.jpg)
Title: Re: Image not showing with Post
Post by: naijaboost on March 27, 2013, 10:07:53 AM
I think this should be able to give clear of the problem.
When i try to post one image now, this is what i get....

"The following error or errors occurred while posting this message:
The message body was left empty."

the message body now show this message: -
(http://naijaboost.com/data:image/png)

great woman in the pic

i don't know what i can do again, please help





Title: Re: Image not showing with Post
Post by: naijaboost on March 27, 2013, 10:22:22 AM
Quote from: K@ on March 27, 2013, 06:22:37 AM
As far as I can see, through my rather befuddled glasses, you haven't confrimed that you're using img tags, either.

If you copy/paste this into a post:

[img]http://www.katzy.dsl.pipex.com/Smileys/ghjg7na5.jpg[/img]

...do you get this image?

(http://www.katzy.dsl.pipex.com/Smileys/ghjg7na5.jpg)

When i copy the links and post it, the image show but did this mean that i have to insert images links before the images can show.
Title: Re: Image not showing with Post
Post by: kat on March 27, 2013, 10:39:32 AM
That's what we've been trying to tell you, yes.
Title: Re: Image not showing with Post
Post by: Kindred on March 27, 2013, 10:53:20 AM
WTF IS THAT?!

base64 junk?  no wonder it does not work... that is not a valid image file.

BTW: I removed the base64 crap in that post since it was setting off one of my network warning triggers
Title: Re: Image not showing with Post
Post by: naijaboost on March 27, 2013, 11:06:35 AM
Quote from: K@ on March 27, 2013, 10:39:32 AM
That's what we've been trying to tell you, yes.

Okay but am able to copy and paste the images inside the message before.
Title: Re: Image not showing with Post
Post by: kat on March 27, 2013, 11:14:01 AM
I don't see how, unless you had a mod to do that.

I can't say I've ever seen such a mod, though.
Title: Re: Image not showing with Post
Post by: Kindred on March 27, 2013, 11:20:36 AM
naijaboost.com/data:image/png


**THAT** is not a valid image file. Period.
add in the base 64 stuff... it looks like your browser tried to paste in the actual contents of the image file instead of the URL.

I suspect that it is a BROWSER issue...    You probably upgraded your browser recently
Title: Re: Image not showing with Post
Post by: naijaboost on March 27, 2013, 01:42:06 PM
Quote from: Kindred on March 27, 2013, 11:20:36 AM
naijaboost.com/data:image/png


**THAT** is not a valid image file. Period.
add in the base 64 stuff... it looks like your browser tried to paste in the actual contents of the image file instead of the URL.

I suspect that it is a BROWSER issue...    You probably upgraded your browser recently

i think you may be right about the browser because i think the browser is in automatic upgrade....so what did you suggest that i should do now.
Title: Re: Image not showing with Post
Post by: kat on March 27, 2013, 04:29:21 PM
Logic says that you either try a better browser, or check the configuration of the one you use.
Title: Re: Image not showing with Post
Post by: Arantor on March 27, 2013, 04:49:10 PM
Quoteadd in the base 64 stuff... it looks like your browser tried to paste in the actual contents of the image file instead of the URL.

You know that is allowed, right? It is *perfectly legitimate* to include images with data URLs.

If you don't believe me, go look at Wedge's CSS files sometime, you'll see a ton of them in there.
Title: Re: Image not showing with Post
Post by: Kindred on March 27, 2013, 05:41:25 PM
ick... :P  no wonder Wedge looks funky to me sometimes on my home machines...   :P
Title: Re: Image not showing with Post
Post by: Arantor on March 27, 2013, 05:44:24 PM
Performance is important - saving HTTP requests is worth doing.
Title: Re: Image not showing with Post
Post by: Kindred on March 27, 2013, 06:42:19 PM
yeah.... unfortunately too many hackers try to encrypt their crap in base64, so I have my systems set to reject any such calls...
Title: Re: Image not showing with Post
Post by: Arantor on March 27, 2013, 06:45:16 PM
Even in CSS files where it is perfectly legitimate, good call.
Title: Re: Image not showing with Post
Post by: Kindred on March 27, 2013, 06:48:16 PM
lol... hey... I know how to block it. I don't know how to selectively block it. :)
Title: Re: Image not showing with Post
Post by: Arantor on March 27, 2013, 06:50:35 PM
How, exactly, are you blocking it?
Title: Re: Image not showing with Post
Post by: naijaboost on March 29, 2013, 06:42:52 AM
I want to use this opportunity to thank everyone that contribute to this topic...i say thank you all. i think the problem is solve because when i used another browser i can now post images even when i copy&paste it. i think my previous browser have problem and after changing it, it is now okay. thanks