How to 1) create or locate graphics or 2) prepare digital photography for your site. Also, share your favorite tools, image sources and resources, and image-using ideas.
NOTE: Basic questions on using the Image Library belong in the Sitebuilder Libraries & Tools forum.

Moderator: Laura from Chautauqua

#1385741 by Debs from SiteSell
Mon Nov 06, 2017 1:22 pm
add this:

style="text-align:center;" to your image code:

now:
<img src="/images/making-dog-treats-super-healthy.jpg" alt="Sylvia's homemade power smoothie in bowls ready for storage">

**Fixed above**

added at end (doesn't matter if where within the tag's code so long as it doesn't break another attribute in the tag, just safer if you put at the end IMO)

<img src="/images/making-dog-treats-super-healthy.jpg" alt="Sylvia's homemade power smoothie in bowls ready for storage" style="text-align:center;" />

Debs
#1385788 by Scott from Clarence
Mon Nov 06, 2017 8:43 pm
Thanks Debs...

I'll give it a shot. Just thought of something... maybe I should have viewed one of my web page's code for one of my images...

I'l let you know how it turns out.

Scott & Nimble.
#1385791 by Scott from Clarence
Mon Nov 06, 2017 9:07 pm
Debs...

Couldn't get it to work. I even copied and pasted your code.

This is the code I'm using... <img src="/images/making-dog-treats-super-healthy.jpg" alt="Sylvia's homemade power smoothie in bowls ready for
storage">

I've noticed that your code has <br> before storage">. Mine doesn't.

Thanks Debs... really appreciate your help. Happy to get a reply!

Scott & Nimble.
#1385851 by Debs from SiteSell
Tue Nov 07, 2017 2:46 pm
I copied the code from your site, so something must have kicked in on the code. I fixed it above. Make sure when you put in code like an image call that it stays on one line (it might wrap, but make sure you don't accidentally hit "enter" within the code as a <br> would be added to the source code then). I looked in your source code and a <br> does appear where it shouldn't.

<img src="/images/making-dog-treats-super-healthy.jpg" alt="Sylvia's homemade power smoothie in bowls ready for<br>storage">

Which means the code is technically broken so fix that too.

To see what I see, go to the live page, right click in the content somewhere (not on an image), then View Source. Search (CTRL F or CMD F) for 'homemade power smoothie in bowls' to jump to the spot where the image call is.

Debs
#1386063 by Scott from Clarence
Fri Nov 10, 2017 5:11 am
Debs...

Thanks. Yes.. I have been studying the source code of different web pages by right clicking on them. I was checking out "follow" and "no-follow" inbound links. Anyway...

The code you fixed is the same code that I added to my C2 page and it won't align the image to the center of the page.

I'm totally tired right now... working concrete 7 days a week. I'd better come back to this when I'm functioning better. This just isn't making sense to me now... sorry. Thanks for you help.. I know you are busy. I'll get back to you later.

Scott & Nimble.

Scott & Nimble.
#1386096 by Debs from SiteSell
Fri Nov 10, 2017 4:40 pm
Hi Scott,

You had a 'hard' Enter where the <br> was appearing. I went into your page and removed it. Adding the style to center to the image tag didn't work, so I wrapped a div around the image tag, and added the style element to the div itself. Now it centers. For C2, use the div to center and you should be good to go.

All my best,

Debs
#1386287 by Scott from Clarence
Mon Nov 13, 2017 2:47 pm
Debs...

Can't thank you enough. Sorry I didn't get back to you sooner... I'll check it out later. My concrete work is taking all my time right now (and Nimble's).

Scott & Nimble.
#1386347 by Scott from Clarence
Tue Nov 14, 2017 3:54 am
Debs... It worked!

Big hug from me and Nimble! :D

Concrete work keeps me in shape. And... I work Nimble out (she works me out!) on the beach in the dark every a.m. before work so she gets her exercise too! We climb the dunes... no wonder I'm tired every evening... :wink:

I can't wait to have more time to work on our site!

Arf! Scott & Nimble.
Similar Topics Statistics Last post
shall i add alt tag to one of my image that consist the keyword of that page?
by koh from tupperware-guide.com Sun Jul 09, 2017 10:44 am
2 Replies
348 Views
by koh from tupperware-guide.com
Sun Jul 09, 2017 12:28 pm
Compressed Images vs Re-Sizing Using Image Editor
1, 2 by Scott from Clarence Mon Sep 04, 2017 2:08 am
18 Replies
867 Views
by Will from Los Ojos
Tue Oct 31, 2017 4:48 pm
Linking to image section WITHIN A PAGE
by Philip from Fredericksburg Fri Oct 20, 2017 4:09 pm
4 Replies
214 Views
by Juri from plainlight.com
Fri Oct 20, 2017 7:24 pm
Google image search
by Mary from Haywood Thu Jan 12, 2017 12:13 am
10 Replies
1844 Views
by A J from Somewhere Hot
Sun Jan 15, 2017 2:55 am
Question: RIght thing to do with free images?
by Mary from Highfalls Tue Feb 28, 2017 2:35 am
4 Replies
938 Views
by Don from Tsiigehtchic
Wed Mar 01, 2017 9:19 pm

Users browsing this forum: No registered users and 4 guests