Page 1 of 1

Online photo resize trick

PostPosted: Tue May 17, 2016 4:11 pm
by livetoride60
For anyone brave enought to try it, I found this trick online and it does work.

If you have online photos you want to link to in the forum, and they are over 800x800 pixels in size, this trick will allow you to link to them in the forum and resize them on the fly. It uses Google's little known resize service.

If your pic it wider than it is high, paste the code below into your post, replacing the piece in red with the URL to your image...

[img]https://images1-focus-opensocial.googleusercontent.com/gadgets/proxy?url=YOUR_IMAGE_URL&container=focus&resize_w=800&refresh=2592000[/img]

If your pic is higher than it is wide, paste the code below into your post, replacing the piece in red with the URL to your image...

[img]https://images1-focus-opensocial.googleusercontent.com/gadgets/proxy?url=YOUR_IMAGE_URL&container=focus&resize_h=800&refresh=2592000[/img]


An example: This photo is 2048 pixels wide × 1360 pixels high and wouldn't post on the forum. You'd have to resize it yourself. Instead, using the info above:

[img]https://images1-focus-opensocial.googleusercontent.com/gadgets/proxy?url=https://image.adam.automotive.com/f/95381430/1-1965-ford-mustang-k-code.jpg&container=focus&resize_w=800&refresh=2592000[/img]

Result:
Image

This uses computing power from Google's servers, not HPMX. The resized pics are cached on Google's servers for 30 days so they reload quick, although you can adjust that parameter. You can also resize to a different vertical and horizontal size if you like. By only specifying either a vertical or a horizontal size, the picture's proper proportions are kept.

A full explanation here: https://carlo.zottmann.org/2013/04/14/google-image-resizer/

Re: Online photo resize trick

PostPosted: Wed May 18, 2016 3:24 pm
by pony65k
Great tip, thanks! Will use that when I want to post a pic in the future.

René