solved add admin image to pj5 site news

boplive
@boplive
10 years ago
345 posts
Would like to add the admin image to the site news of projam5(which is to the side)..I tried something quick this morning...but then had to step out ...had no luck the first time..since im away from my computer..thought ill ask
updated by @boplive: 03/19/14 11:51:48AM
SteveX
SteveX
@ultrajam
10 years ago
2,584 posts
For admin with user id=1:
{jrCore_module_function function="jrImage_display" module="jrUser" type="user_image" item_id=1 size="medium" crop="auto" alt="admin" class="img_shadow"}

Change '"module="jrUser" type="user_image"' to 'module="jrProfile" type="profile_image"' if you wnat the admins profile image instead.

The image function parameters are at the bottom of this docs page:
https://www.jamroom.net/the-jamroom-network/documentation/development/1599/the-image-system
which seems wrong, should really be at the top.


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)

updated by @ultrajam: 02/09/14 12:18:52PM
boplive
@boplive
10 years ago
345 posts
works great Steve...thanks for pointing me in the right direction :)

Tags