SMF Support > SMF 2.0.x Support
Hello, learning to use SMF!
securobo:
I am learning to use SMF and I have a little complication. I do not understand how to make use of the
--- Code: --- img][/img
--- End code ---
tags and could someone explain the difference between the image tags and an attachment of an image please.
(F.L.A.M.E.R):
An attachment gets uploaded on the server, while the image tag doesnt upload it up. It basically does the work of embedding videos (in this case images).
Images in attachments arnt prefered most as it is mainly used for file sharing.
While when a person wants to preview the images, he uses a file sharing site to upload the image and then puts the "img" code in order to show up the image directly from the image hosting site.
securobo:
Just a little confused. I understand that an attachement is uploaded to the server and anyone that clicks on the link can download it.
However, the embedded image. Does it get saved to the database? if someone could please answer that and also, could someone give me an example of how to do this. I can click on the icon and it adds the tags for me, but I am not sure what to add between the tags to make the image show up in the post (there is no file requester).
(F.L.A.M.E.R):
--- Quote from: kbrizs on October 06, 2008, 07:25:24 PM ---Just a little confused. I understand that an attachement is uploaded to the server and anyone that clicks on the link can download it.
However, the embedded image. Does it get saved to the database? if someone could please answer that and also, could someone give me an example of how to do this. I can click on the icon and it adds the tags for me, but I am not sure what to add between the tags to make the image show up in the post (there is no file requester).
--- End quote ---
yes, it does add it up in the database, as whenever you move your site, it will carry on the link onto other side without any problems.
How to use the img BBcode.
1. Use a Image hosting site. I use http://imageshack.us/
2. Upload the image there. Example:- http://imageshack.us/images/greylogo.png (this is being uploaded from URL, the Steps are to upload the image via your own computer)
3. You will get an image link after you upload it, For me it is:- http://img137.imageshack.us/img137/394/greylogoxt3.png
4. Now to embed the image in between, use the bbcode.
--- Code: ---[img]IMAGE LINK[/img]
--- End code ---
For me
--- Code: ---[img]http://img137.imageshack.us/img137/394/greylogoxt3.png[/img]
--- End code ---
5. Thats it, it will show up after its submitted.
securobo:
Thanks. No need to reply to this if I understand correctly. The image itself has nothing to do with the database, just the link gets saved in the db. It's up to the site (in this case image shack) to maintain the image for whatever length of time they usually do. Also if I upload an attachment, it gets saved on the server in a directory which also has nothing to do with the database, so if I move my site to another host, I have to manually also move the files in the upload directory for the links to be valid.
Navigation
[0] Message Index
[#] Next page
Go to full version