PDA

View Full Version : HTML image code help wanted



George
2008-Jul-03, 03:52 AM
I would appreciate a little help regarding HTML code for inserting an image into a blog of mine.

Scientificblogging.com allows anyone, I suppose, to do science blogs on their own. I elected to do one on heliochromology, but I won't say what it's about. ;)

Anyway, I don't know how to insert an image.

These are the allowed codes.

Allowed HTML tags: <a> <em> <strong> <cite> <ul> <ol> <li> <dl> <dt> <dd> <blockquote> <sub> <sup><iframe>

They allow attachments, which I uploaded, but these images did not insert on their own. They gave me a file name for each one and, in fine print, the jpg file name for each. But, no luck have had getting them inserted.

01101001
2008-Jul-03, 05:28 AM
Allowed HTML tags: <a> <em> <strong> <cite> <ul> <ol> <li> <dl> <dt> <dd> <blockquote> <sub> <sup><iframe>

That looks like what you get for the "Filtered HTML" option at overview (http://www.scientificblogging.com/overview). Any way you can select "Full HTML" (but it says that's the default)? I think you need to have the <img> tag available.

jt-3d
2008-Jul-03, 05:47 AM
It looks like <img> is on the list right after <dd>, whatever that is. Looking at some source <img> is allowed. So you just put in <img src="whereever the images are located"> One post about Egypt has this in the code. <img src="/files/Tell Edfu.jpg"/>

And if I may appeal to page maker types: Please don't use spaces in image names and website adresses. The space gets converted to %20 and makes things messy. ktks :)

01101001
2008-Jul-03, 05:57 AM
It looks like <img> is on the list [...]

Um, yeah. It does. I shall shoot my cursed optician.

George, check again what HTML is available to you, and pray for <img>.

(Just briefly looking at a few other blogging sites, <img> is sometimes not available with basic filtered HTML. Some allow you to extend the filtered set to include <img> -- or whatever else you might need -- without going "full".)

George
2008-Jul-03, 02:09 PM
Well.....

I recall seeing the Overview before signing-up. Yet, the "Input Format" option is not available, at least not to me.

I did find a subfolder entitled "TinyMCE rich-text setting". I switched the setting from false to true. This then gave me the tool header that is shown in the Overview. In the edit mode for my blog, it switches to Word mode (in lieu of HTML). In Word mode the header is given. I was able to insert the uploaded image and resize it, too. The image shows up in the editor, but when I go to "preview", it is gone, as well as, all my pargraphs. It is just one long paragraph now with no image.

It has a button to swtich from Word to HTML, but that didn't help either.

I clicked on the "Technocrati" button and it allows for insertion of "technocrati tags", so I included "<img>" just for grins. No luck.

My trial and effort methodology isn't cuttin' the mustard. I think I'm close and I see other blogs with images. I suppose I can bug one of the other bloggers, but I feel more at home here. :)

George
2008-Jul-03, 09:42 PM
Ok, it finally elected to take the <img> command, for some reason or tuther.

jt-3d
2008-Jul-04, 02:01 AM
Sounds weird. I'm not familiar with blog software though. I'd rather just do the whole thing with HTML myself. Glad you got it sorted.

ToSeek
2008-Jul-04, 02:07 AM
It looks like <img> is on the list right after <dd>, whatever that is.

Definition description: http://www.w3schools.com/tags/tag_dd.asp

One of those quaint tags from the days when the Web was going to be used to share heaps of text-based scientific data.

jt-3d
2008-Jul-04, 09:00 AM
One of those quaint tags from the days when the Web was going to be used to share heaps of text-based scientific data.

That could still happen. Look at all the fine science they're doing over at places like GLP....oh.

George
2008-Jul-04, 04:57 PM
It turned out to be a bug in the works that kept tripping me up. It is working fine now.

I tried the dt + dd tags here using the HTML embrace, but no luck. It does look quaint, though, if it could work.

mugaliens
2008-Jul-04, 09:36 PM
I would appreciate a little help regarding HTML code for inserting an image into a blog of mine.

Try PhotoBucket. They provide three image tags. Try all three, then pick the one that works for your blog (if any).

George
2008-Jul-04, 10:18 PM
Thanks, but the problem, surprisingly, wasn't me, but their system. Now that they have it fixed, it is an impressive site.