Image Public URL with Size

SoftDesigns
SoftDesigns
@softdesigns
7 years ago
242 posts
GOAL: GET Images from JR server from Mobile App, or External Website via image URL:
--
Example URL: https://MySite.com/gallery/image/gallery_image/430
--
Returns this message:
CRI: invalid image size - must be one of: xxsmall,xsmall,56,small,icon96,icon,medium,large,larger,xlarge,xxlarge,xxxlarge,1280,original
--
We need to get images from our JR server and display thru any external site or app.
What is the correct URL to grab images - including various sizes above?
updated by @softdesigns: 08/29/17 05:44:26PM
SteveX
SteveX
@ultrajam
7 years ago
2,584 posts
https://MySite.com/gallery/image/gallery_image/430/xlarge


--
¯\_(ツ)_/¯ 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 :)
SoftDesigns
SoftDesigns
@softdesigns
7 years ago
242 posts
@ultrajam : Thanks, that URL you suggested is what we thought also - we did try this below:
https://mysite.com/gallery/image/gallery_image/430/xlarge
--
So strange, it works in Chrome, but in Firefox returns an empty "?"
--
The FireFox bug must be related to caching...
brian
@brian
7 years ago
10,148 posts
You are probably seeing Chrome's aggressive caching. I would recommend developing on Firefox, and just use Chrome for checking/testing - Chrome is very aggressive about caching and will continue to show you old images/pages even when those underlying images or pages have changed.


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

Tags