We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

How to add images on a template?

How Do I?

Natalie's avatar
Natalie
18 posts
3 years ago
Natalie's avatar Natalie

Hello: I’m a long-time novice and I recently tried adding an image using hte html img src= tag but I can’t get my image to show up. I’ve uploaded my image in various directories and I can get it to show up if I type in the URL into my browser but I can’t get it to show on my template. Any help is appreciated.

       
USC Chan's avatar
USC Chan
81 posts
3 years ago
USC Chan's avatar USC Chan

If you’re able to display an image in your browser, that tells you what the path on the server is, and you should be able to use that. So, for example, if the URL for the image is something like:

https://your.domain/path/to/image.jpg

you should find that this works in your template:

<img src="/path/to/image.jpg" />

       
Natalie's avatar
Natalie
18 posts
3 years ago
Natalie's avatar Natalie

That did, thanks. Though my alt text isn’t working still… my code is lessthan sign img src=’/image.jpg’ title=’test’ alt=’wtf’ / greater than sign with the signs not the words at hte beginning and end… Any thoughts? thanks for hte help getting hte image up.

       
USC Chan's avatar
USC Chan
81 posts
3 years ago
USC Chan's avatar USC Chan

It sounds like your code is right. Only thought is to make sure that you’re using double quotes — and make sure they’re straight, and not smart quotes. Something like:

<img src="/path/to/image.jpg" alt="wtf" />

       
Natalie's avatar
Natalie
18 posts
3 years ago
Natalie's avatar Natalie

it all works now! Thanks so much for the help.

       
lanagrace's avatar
lanagrace
1 posts
3 years ago
lanagrace's avatar lanagrace

<img alt=”(Your Keyword)”> Use this code to add images on your website. I have also implemented this code in my content writing services website and this is working perfectly. While uploading images try to upload Webp images because webp images improve the website loading speed which is very necessary for website SEO.

       
bigbear's avatar
bigbear
1 posts
3 years ago
bigbear's avatar bigbear

This is a pretty fun game, but requires players to have fast hand skills to choose the right arrow keys and at the right time they touch the arrow icons available on the screen to be considered valid. . If you have ever played Audition, you will get used to the Friday Night Funkin game very quickly.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.