Skip to main content
Topic: Best practice to attach image as part of the post (Read 2704 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Best practice to attach image as part of the post

Hi guys, I would like to ask your opinion on what is the best approach if say I want to attach an image not as a thumbnail but as part of the post itself. As always, any ideas is greatly appreciated. thanks

Re: Best practice to attach image as part of the post

Reply #1

I'd recommend the Inline Attachments addon
http://addons.elkarte.net/feature/Inline-Attachments.html
Last Edit: February 07, 2016, 02:30:07 pm by Spuds
Thorsten "TE" Eurich
------------------------

Re: Best practice to attach image as part of the post

Reply #2

thanks @TE! btw, can you recommend a good hosting site for image to be used in the inline attachment addon?

Re: Best practice to attach image as part of the post

Reply #3

Imgur.com

Re: Best practice to attach image as part of the post

Reply #4

@TE @Wizard for some reason, I cant make the inline attachment work. I tried using
Code: [Select]
[attachimg=1 align=left width=80]http://i.imgur.com/cDjZH6Jb.jpg[/attachimg]
but doesnt seem to work. the addon was enable though.
Am I doing it correctly?

Re: Best practice to attach image as part of the post

Reply #5

attachimg tag is working only for the attachments, to obtain that result with an attachment the code you should insert is
Code: [Select]
[attachimg=1 align=left width=80]
sorry for my bad english

Re: Best practice to attach image as part of the post

Reply #6

Simply upload the image at imgur or tinypic.com, get the code and paste it between
Code: [Select]
[img]Image url here[/img]

Re: Best practice to attach image as part of the post

Reply #7

Inline Attachments is made for uploaded attachments..
for external images, hosted by other services you'd use this solution:

Quote from: Wizard – Simply upload the image at imgur or tinypic.com, get the code and paste it between
Code: [Select]
[img]Image url here[/img]
Thorsten "TE" Eurich
------------------------

Re: Best practice to attach image as part of the post

Reply #8

or you can use the "width" tag


Code: [Select]
[img width=80]http://i.imgur.com/cDjZH6Jb.jpg[/img]
sorry for my bad english

Re: Best practice to attach image as part of the post

Reply #9

Use can use both width and height inside img tag as shown by @radu81