May I suggest a new BB code.. Click on image for full size

The forum dedicated to site issues, problems and wishes.
Post Reply
User avatar
Eagle_Eye
Posts: 178
Joined: 24 Jul 2015 10:00
Location: Adelaide, South Australia
Contact:

May I suggest a new BB code.. Click on image for full size

#1 Post by Eagle_Eye » 08 Mar 2017 12:53

Hi guys, I believe this forum is based on the phpbb code..

I have my own small site I just reopened, and I created a bb code that resizes an image to fit on a post, but, if you hover on the picture, it tells you you can click for full size image..

If you click on the image, it will open the full size image in a new window.

You can see it in action here.. http://oldaussiegamers.com/viewtopic.php?f=31&t=31

Found it very useful when creating guides, enabling the reader to see the image at full size.

Also making it easier for the creator not having to resize an image to suit the forum..



Here is the code if you decide to go ahead.

BBCode Usage.

Code: Select all

[fullpic]{URL}[/fullpic]
HTML replacement, this one sets the size of the picture to 825 pixels, you can change the size to say 900 like this forum allows.

Code: Select all

<a href="{URL}" target="_blank"><img src="{URL}" width="825"  title="Click for full size image" style="border:1px solid black;" /></a>
Help line

Code: Select all

fullpic: [fullpic]Link to image[/fullpic]
Cheers
EE
Image

Post Reply

Return to “SCS Site”

Who is online

Users browsing this forum: No registered users and 1 guest