Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   CD Forum Support (http://www.chiefdelphi.com/forums/forumdisplay.php?f=8)
-   -   Linked Image Resizing (http://www.chiefdelphi.com/forums/showthread.php?t=139773)

cbyrne 28-11-2015 12:51

Linked Image Resizing
 
Hello,

I am sorry for such a basic question. How can I get the linked images to resize in CD? (ideally with a click through to full size.)

E.g.: Original Image:


Resize attempts according to BBCode:
[img width=400 height=400]http://www.afterdarklabs.com/wp-content/uploads/2015/11/TeesnyBreakoutV02A-Top.png[/img]

[img width="400" height="400"]http://www.afterdarklabs.com/wp-content/uploads/2015/11/TeesnyBreakoutV02A-Top.png[/img]

[img=400x400]http://www.afterdarklabs.com/wp-content/uploads/2015/11/TeesnyBreakoutV02A-Top.png[/img]

Resize attempts according to some other forums:
[img w=400 h=400]http://www.afterdarklabs.com/wp-content/uploads/2015/11/TeesnyBreakoutV02A-Top.png[/img]

Thanks!

Rachel Lim 28-11-2015 13:13

Re: Linked Image Resizing
 
You can upload the image to imgur and edit the size there. There are some default options under sizes that will add an additional letter to your url. For example:

http://i.imgur.com/XXXXX.jpg - regular size
http://i.imgur.com/XXXXXs.jpg - small square
http://i.imgur.com/XXXXXb.jpg - big square
http://i.imgur.com/XXXXXt.jpg - small thumbnail
And so on.

You can also edit the size to get exactly what you want (rollover the image > edit image > specify the size). However, as far as I can tell, this changes the image linked to by the original url, so you'll need to upload the image again.

To link it to the larger size, you can use BBCode tags to link to a different url than it displays. If you want to display XXXXX but link to YYYYY:

[url=http://imgur.com/YYYYY][img]http://i.imgur.com/XXXXX.jpg[/img][/url]


All times are GMT -5. The time now is 03:33.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi