Pictures with a clickable link - MUST NOW USE IMGLINK

ZBOYD

Looking up at the stars!
May 19, 2001
9,468
15
Cheshire
www.seatcupra.net
Its due to the new image resize software. However its not a bug as such as there is a built in fix with the software.

In you picture code tags use IMGLINK in the place of IMG. Don't forget to use /IMGLINK at the end instead of /IMG

Obviously remembering the code has to be within [ ] these

This same code fix also applies to link images in signatures, so if your signature picture was supposed to link somewhere, edit the code to replace the IMG with IMGLINK instead, otherwise it will open in the LiteBox viewer.
 
Last edited:

ZBOYD

Looking up at the stars!
May 19, 2001
9,468
15
Cheshire
www.seatcupra.net
We upgraded the image resize software, this is essential as we all know there are a bunch of eejits out there that can't resize their images to suit. So the software does it for them.

However the new software also incorporates litebox, which means any pictures are opened up in a pop-up viewer and you can cycle through all the images in the thread.

This works fine for all IMG coded files without links. But the software also incorporates a workaround for those images that have url links applied to them.

Here is a quick guide.

IMG Code - Where you see these {} in the code below replace with []

Example of an IMG without a link (Original Image is 1024x681)

Code = {IMG}url or web address of image goes here{/IMG}

The result of using the code shows the image is resized in the post and if you click the image it should open to the full size in the litebox viewer.

main.php


Example of an IMG with a link, and why IMG with link no longer works properly

If you do an IMG with a link. Like the small thumbnail example below. This would of taken you to the SCN homepage if the url link it contained worked as it did before. However because the IMG code is now linked to the litebox it will no longer will work correctly and will just open in the litebox or even crash out IE in some reported cases.

Code = {url=http://www.seatcupra.net} {img}url or web address of image goes here{/img} {/url}



Example of an IMG with a link using the IMGLINK code instead

This is essentially exactly the same as above. Except where ever {IMG} appeared in the code we now replace it with {IMGLINK} instead. This now disables the litebox viewer and allows the original image link to be opened as normal. If you click the image below, it should now take you to the SCN homepage.

Code = {url=http://www.seatcupra.net} {imglink}url or web address of image goes here{/imglink} {/url}

[imglink]http://www.seatcupra.net/gallery/main.php?g2_view=core.DownloadItem&g2_itemId=21558&g2_serialNumber=2[/imglink]

Hope the above helps :)
 
Last edited:
Chris Knott Insurance - Competitive quotes for forum members