How do you... embed pictures into links?

I've seen this done quite often. Instead of text as  link, say 'LINK', people have used a thumbnail image. How do you do that? What is the secret?

I have a large article I want to write and this would be a useful skill. If anyone can help I'd be really grateful  :) 

8,444 views 41 replies
Reply #2 Top

Check me out
End of quote

That's the best offer I've had in a while

Reply #3 Top
 :SURPRISED: The things that happen around here on the weekends!  :d 
Reply #4 Top
Check me out
End of quote


Only if we can





Smile Bebi.

:D :LOL:
Reply #5 Top
i hope she doesn't say that to all the guys ;) i'm jealous enough as it is.
Reply #7 Top
Perhaps, like this:



Reply #8 Top
With mouse over text?





Reply #9 Top
Hey Bichur, how'd ya do that?
Reply #10 Top
Fuzzy:

Links, like images, can have the title attribute. That will provide the user with a description on hover. title="title here"

Code: html
  1. <a href="http://bebibulma.wincustomize.com/"><img onload="ImageResizer.createOn(this);" onload="ImageResizer.createOn(this);" src="http://images2.stardock.com/11/43/1143580/icon.jpg" title="Click to Visit Bebi" /></a>


Reply #11 Top



Code: html
  1. <A href="http://wiki.wincustomize.com/wiki/Main_Page" target="NEW WINDOW"><IMG src="http://i93.photobucket.com/albums/l55/darkstar-rising/testbutton.png"></A>


The above will allow the link to open in a new Window.

The downside to linking with images here, is that there is a weird jump that affects the post concerned when doing this. It pretty much knocks it on the head for regular use.

Reply #12 Top
The downside to linking with images here, is that there is a weird jump that affects the post concerned when doing this.
End of quote


Indeed. You may, if you're allowed to code in straight html, be able to not just use the title attribute, but also the target one, as you've used but also include border="0". If that doesn't work, perhaps overriding some CSS might work, too? That is, to specify:

Code: html
  1. img style="border: 0;"


.. and so forth ..
Reply #13 Top
Oops. Forgot to add, it may not work, to add that style to the img part of the source, but rather to the a href part. :)
Reply #14 Top
Hey Bichur, how'd ya do that?
End of quote


CausticFX & Alternate Setting got ya covered.


view > page source
edit > find

is a good tool
Reply #15 Top
crap - can't get a border to work
Reply #16 Top
Maybe neither will work:

Maybe you can convince the Admins (Or whomever works on the core CSS) to add a specific one, just for those who wish to add an image link in the forums and so forth. Perhaps a custom class:

Code: css
  1. .forumimage {
  2. border: 0;
  3. }
  4. .forumimage a:link, .forumimage a:hover {
  5. text-decoration: none;
  6. }


??
Reply #17 Top
Going to try something, here..

(Nope. Didn't work. hehe. I tried.)
Reply #18 Top
I've seen borders on pics posted in the forum, just can't find them..
Reply #19 Top


This uses this code, but just makes it worse.

Code: html
  1. <a href="http://wiki.wincustomize.com/wiki/Main_Page" TARGET="NEW WINDOW"><img src="http://i93.photobucket.com/albums/l55/darkstar-rising/testbutton.png" border="0" title=border test></A>


I'm not even a hobbyist at this, so I'm not sure what would be wrong ? Anything obviously misplaced in the block above ?
Reply #20 Top
You missed the " and " around title="border test" :)
Reply #21 Top
yep
Reply #22 Top

You missed the " and " around title="border test"
End of quote


Ah, I see it, thanks. Doesn't appear to have negatively affected the outcome though?, and border attribute if correctly placed doesn't appear to have helped with the jumping.

Reply #23 Top
crap
Reply #24 Top


You can use div align two if you want change the placements of the picture : center, right, and left
or/and if you want make thumb use height and width
















Code: html
  1. &lt;div align="center"&gt;&lt;a
  2. href="http://quentin94skinning.free.fr/Files/ScreenShot00068.jpg"
  3. target="_blank"&gt;&lt;img
  4. src="http://quentin94skinning.free.fr/Files/ScreenShot00068.jpg"
  5. title="Boo!" border="0" height="300"
  6. width="480"&gt;&lt;/a&gt;&lt;/div&gt;
  7. &lt;div align="left"&gt;&lt;a
  8. href="https://www.wincustomize.com/skins.aspx?search=arileen"
  9. target="_blank"&gt;&lt;img
  10. src="http://skins6.wincustomize.com/Quentin94/screenshots/21204.jpg"
  11. title="Boo!" border="0" height="240"
  12. width="320"&gt;&lt;/a&gt;&lt;/div&gt;
  13. &lt;div align="right"&gt;&lt;img
  14. src="http://images2.stardock.com/7/17/717325/icon.jpg" title="Boo!"
  15. border="0"&gt;&lt;/div&gt;
Reply #25 Top
Amazing! There's so much stuff I need to learn  :SURPRISED: