DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: How to linkifice an image?  (Read 12,611 times)

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,565
How to linkifice an image?
« on: March 14, 2007, 04:02 PM »
How do I make an image a link?

2007-03-14_162504.jpg

« Last Edit: March 14, 2007, 04:09 PM by Curt »

jgpaiva

  • Artificial Idiocy
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • Cody Award
    • Participated in NANY Challenge Once
    • Coding Snacks
    • Portugal Inhabitant
    • Linux User
Re: How to linkifice an image?
« Reply #1 on: March 14, 2007, 04:05 PM »
Here's the code you used:
Code
[url=http://msdn2.microsoft.com/en-us/windowsvista/aa904955.aspx][attachthumb=#][/url]

It should be
Code
[url=http://msdn2.microsoft.com/en-us/windowsvista/aa904955.aspx][attachthumb=1][/url]
The only difference is the 1 after attachthumb=, so that the first image attached will appear there.

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,565
Re: How to linkifice an image?
« Reply #2 on: March 14, 2007, 04:11 PM »
2007-03-14_162504.jpg

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,565
Re: How to linkifice an image?
« Reply #3 on: March 14, 2007, 04:13 PM »
It should be
Code
[url=http://msdn2.microsoft.com/en-us/windowsvista/aa904955.aspx][attachthumb=1][/url]

You're right, except for thumb part. I realize you cannot link to a thumb, it has to be the full size image.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: How to linkifice an image?
« Reply #4 on: March 14, 2007, 04:14 PM »
actually the difference between attachthumb=# and attachthumb=1 is non-existent in this case, as the # version just attaches the images in order, so with only one image there is no difference.

the reason that its not following the link is simply because when you do an attachthumb, a click enlarges the image, so the link is disabled.  i wonder if i should change this behaviot?

nyway, instead of attachthumb use attach, that will solve your problem.

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,565
Re: How to linkifice an image?
« Reply #5 on: March 14, 2007, 04:15 PM »
instead of attachthumb use attach, that will solve your problem.

Wow; I was ahead of you with 32 seconds!

Thanks.

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,970
    • Gathering Badge
    • Participated in NANY Challenge Once
Re: How to linkifice an image?
« Reply #6 on: March 15, 2007, 11:24 AM »
If you have a bunch of images in a post
AND
you want to change/update some of them,
do you have to renumber all images (attachthumb=1  etc) so that the last attached image shows as say number 4 out of 9

comprendez? (wouldn't blame ye if ye don't)
Tom

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: How to linkifice an image?
« Reply #7 on: March 15, 2007, 11:30 AM »
Yes, i'm afraid so, if you remove an image from the middle youll have to renumber.
(alternative is to remove all and re-add all in proper order).

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,970
    • Gathering Badge
    • Participated in NANY Challenge Once
Re: How to linkifice an image?
« Reply #8 on: March 26, 2007, 08:34 AM »
mouser anyone HELP  :tellme:

I think there's a limit of 20 attatchments to a post.

Could that be the case ??!!??

When I go to edit the first post in List of Disc Cataloguers
http://www.donationcoder.com/forum/index.php?topic=7764.msg55717#msg55717
I dont get the option to add an attchment (there's already 20)

If so, is there a way around it -
maybe show the screenshot in a new post, then link somehow to that image so it shows in the first post ??
I know you can link to images using URLs but ...

I don't want to make this any/much more complicated than it is
Tom

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: How to linkifice an image?
« Reply #9 on: March 26, 2007, 11:20 AM »
let me extend from 20 to 200 :)

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,970
    • Gathering Badge
    • Participated in NANY Challenge Once
Re: How to linkifice an image?
« Reply #10 on: March 26, 2007, 01:11 PM »
200 is a possibility -

Crush says he has a list of 100...
:-\  :huh:  :tellme:  :o  :D  ;D
Tom
« Last Edit: March 26, 2007, 01:15 PM by tomos »

Original address: https://www.donationcoder.com/forum/index.php?topic=7762.0