Inserting an image into a post.

This is an archive of the phpBB 2.0.x support forum. Support for phpBB2 has now ended.
Forum rules
Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785
Locked
glynwill
Registered User
Posts: 6
Joined: Fri Feb 03, 2006 11:14 am

Inserting an image into a post.

Post by glynwill »

I want to insert an image into a message on the BB.
The image is held on my website in the public_html directory.
I have tried to insert using the code provided on the page, using my website address, with no success!
Is this one of the "not allowed" situations given in the FAQ's or am I doing something wrong?
Andrew Kucienski
Registered User
Posts: 1050
Joined: Mon Oct 24, 2005 2:06 am
Location: Far far away!!!

Post by Andrew Kucienski »

Use this format:

Code: Select all

[img]http://www.domain.tld/image.jpg[/img]
glynwill
Registered User
Posts: 6
Joined: Fri Feb 03, 2006 11:14 am

Post by glynwill »

Thats the code I have tried without success! eg:
[img]http://www.liverpoolramblers.co.uk/seaforth docks 02.jpg[/img]
I have put the image on the website with a link from the board to the page on the site and it works OK.
However, for future use I would like to be able to insert images on th BB page.
SER
Registered User
Posts: 1308
Joined: Fri Sep 06, 2002 6:09 am
Location: N 34 3 8 / W 118 14 33

Post by SER »

Part of your problem is the blank spaces in the name of the image.
instead of using this:

Code: Select all

[img]http://www.liverpoolramblers.co.uk/seaforth docks 02.jpg[/img]
Try using this instead:

Code: Select all

[img]https://camo.phpbb.com/be8fc5a1e6e1a14eeb8dbad4730315adf215be2c/687474703a2f2f7777772e6c69766572706f6f6c72616d626c6572732e636f2e756b2f736561666f727468253230646f636b7325323030322e6a7067[/img]
Example of above:

instead of using this:
Image

Try using this instead:
Image
Visual Guide to Avatar Galleries
The Unoficial Staff Forum For The Unofficial Support Team | Join me at HauntX Remember, if it's Haunted, it's here!
"Support helps those who help themselves." | "You can lead a fool to wisdom, but you cannot make him think."
glynwill
Registered User
Posts: 6
Joined: Fri Feb 03, 2006 11:14 am

Post by glynwill »

Thanks for that. All I need to do is to get it to fit in the page!
I am a raw novice as far as code. Can I use "width" and "height" within the "img" tags?
Andrew Kucienski
Registered User
Posts: 1050
Joined: Mon Oct 24, 2005 2:06 am
Location: Far far away!!!

Post by Andrew Kucienski »

MOD Database Manager wrote: Classification: 55 Cosmetic/Styles

MOD Name: Resize Posted Images Based on Max Width
Author: spooky2280
MOD Description: This MOD resizes images within posts to make it so they don't break your layout. Images resized are made clickable and openable in a popup in full-size. You can specify a different max width for each of your themes. Images that do not exceed the max width are left as is. See the MOD in action: http://christianfecteau.com/rmw



MOD Version: 2.4.5 (Updated 01/27/05)
Installation Level: Easy
Installation Time: ~ 5 Minutes

Download File: Resize_Posted_Images_Based_on_Max_Width_2.4.5.zip
File Size: 8287 Bytes

Security Score: 0
Locked

Return to “2.0.x Support Forum”