Images on private profile

SteveX
SteveX
@ultrajam
10 years ago
2,584 posts
I have a private profile. It has 3 owners, two on a member quota and one on an admin quota (me) who is also master admin.

In a custom module, some images do not appear to the owners (or myself as an admin-owner) whilst the profile is private (the grey question mark is shown) but then are displayed when the profile is made public.

Module images will appear on a private profile if there is a _v number appended to the url. So this works with background images but not with anything displayed through jrImage_display or through jrCore_module_function.

This works as an inline style:
background: url("{$jamroom_url}/{$murl}/image/micro_image/{$_item_id}/xxxlarge/_v={$_updated}")

But this does not:
{jrCore_module_function function="jrImage_display" module="ujMicroSite" type="micro_image" item_id=$_item_id size="xlarge"}
Nor when called through jrCore_module_function function="jrImage_display"
{jrCore_module_function function="jrImage_display" module="ujMicroSite" type="micro_image" item_id=$_item_id size="large" alt=$micro_title width=false height=false class="iloutline img_shadow" style="margin-left:12px;margin-bottom:12px;"}

How can I add the _v version via the jrImage module function? Or should it be doing that already?

Thanks !


--
¯\_(ツ)_/¯ 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: 01/25/16 06:58:11AM
michael
@michael
10 years ago
7,791 posts
not seeing any images displaying incorrectly under my setup. The member user is able to see all the images in the attached profile.

When I add this to the top of the /modules/jrBlog/item_index.tpl
{jrCore_module_function function="jrImage_display"  module="jrUser" type="user_image" item_id="3" size="xlarge"}

expecting that that will replicate the issue you have, the image comes out as expected.

Any other clues as to how to replicate it with modules I have, or can I have your module or access to somewhere to see it happening?
michael
@michael
10 years ago
7,791 posts
Still seeing this steve?
SteveX
SteveX
@ultrajam
10 years ago
2,584 posts
I'm not sure, we had to stop using Private Profile to hide that quota.

I'll try out it again when there's time and post again.

Thanks :)


--
¯\_(ツ)_/¯ 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 :)
brian
@brian
10 years ago
10,149 posts
Just an update that I've tested this here and am not seeing issues, so let us know if you can replicate it and I can check it out.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

Tags