Thread: BBCode Tricks
View Single Post
Old 10-09-2018, 08:17 AM   #7
RiskyFlame
Longtime User
 
RiskyFlame's Avatar
 
Join Date: Mar 2014
Posts: 3,292
Blog Entries: 17
Default

Image resizer: (the perfect solution!)
I've searched for resizing my images through the URL a few times before and today, I finally have found a viable method that is even better than what I was searching for. The only thing you need to do is to add a specific URL in front of the image-URL you want to post on getDare.
https://demo.cloudimg.io/operation/size/filter/original_image_url
  • token: your Cloudimage customer token, but use demo for free.
  • operation: cdn, cdno, width, height, crop, cover, fit, bound, crop_px.
  • size: specifies the size of the target image. If you use an operation not requiring a size, then use a placeholder like none or n.
  • filter: parameters like fcontrast, fpixelate, fgaussian, backtransparent, rotation to apply filters on your image
  • origin_image_url: that's an easy one.
Full documentation can be found here.

Quote:
Originally Posted by Examples
Original images:
1) https://i.pinimg.com/originals/c5/e6...6e1a57c7e4.jpg
2) https://cdn4.images.motherlessmedia....es/EA63C97.jpg
3) https://www.getdare.com/bbs/images/u...tar74735_3.gif

Customised images:
1) [IMG]https://demo.cloudimg.io/height/300/none/
https://i.pinimg.com/originals/c5/e6/18/c5e6188501b14e4338043c6e1a57c7e4.jpg[/IMG]

2) [IMG]https://demo.cloudimg.io/crop_px/14,257,429,719-200/fgrey.fcontrast5/
https://cdn4.images.motherlessmedia.com/images/EA63C97.jpg[/IMG]

3) [IMG]https://demo.cloudimg.io/bound/250x250/fradius30.fcontrast10.fgaussian1.fsharp5/
https://www.getdare.com/bbs/images/u_avatars/avatar74735_3.gif[/IMG]
Quote:
Originally Posted by Results


* I added a watermark (?&mark_text=1)&mark_pos=northwest&mark_color=00000 0&mark_fontsize=20&mark_pad_x=10&mark_pad_y=10) to the end of the URL to get 1), 2), and 3).
__________________
Still responsive to DMs here

I've only really liked a handful of people in my life,
and you've been two of them.

—Hans Axgil—
RiskyFlame is offline   Reply With Quote
The following 3 users say Thank You to RiskyFlame for this post: