what is the best way to link to an image


#6660 (In Topic #1726)
Standard member
cwdean is in the usergroup ‘Fan in action’
If I want to include an image within a news or forum post, what is the best way to do that?  I'm talking about referencing or linking to an existing image in a gallery, for example, not uploading or inserting via the post.  For example, if I have an image in my personal gallery and I want to show a thumbnail image of that in a news post, what's the best way to do that?

I've searched for a possible answer but can't seem to find one.

Thanks in advance for your help!

Edit:  nevermind :dry:  I just discovered that if you go to edit an image you will see the URL within the Image setting.  You can use that URL inside of an "img" or "thumb" tag to display the image.  Pretty straight-forward really…but I was having a difficult time trying to find a valid reference to the image.  All figured out now :thumbs:  Hope this helps someone else who may be experiencing the same challenge.

Last edit: by cwdean

Online now: No Back to the top


Site director
Chris Graham is in the usergroup ‘Administrators’
Right, it'd work as per your solution under 'Edit:'.

In my mind the best way is to upload to the File/Media Library first, then add to the gallery referencing that, and add to the other content referencing that also.
That way the image file is an independent content entity in it's own right and you aren't creating a cross-dependency.

That said that is all probably unnecessary hassle for most people.

Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top
1 guest and 0 members have just viewed this.


Users online:

Manu, babu, amit.nigam, ManojSree, mytracker, deepu_ms

Forum statistics:
  • 1,347 topics, 5,900 posts, 7,213 members
  • Our newest member is photocolorist
Back to Top