MCPcopy Create free account
hub / github.com/CivilHub/CivilHub / thumbnail

Function thumbnail

userspace/models.py:30–38  ·  view source on GitHub ↗

Returns profile avatar in selected size. It takes full path to profile image (e.g profile.avatar.name) and selected size which should be integer meaning thumb width.

(imgname, size)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

thumbnail_smallMethod · 0.85
thumbnail_mediumMethod · 0.85
thumbnail_bigMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected