solved Image Raw URL

michaeld
michaeld
@michael-d
5 years ago
92 posts
How can we load up the raw image URL in a browser...I need to make the direct link work...
Not the one that has /original or /larger...Not those

Need the raw URL to work


--
Thank You
~Michael
Audio Engineer | Graphic and Design |

https://www.damatoproduction.com
https://www.HomeStudioMusicProduction.com
https://www.ShotsInOrder.com
https://www.playgroundz.rocks

updated by @michael-d: 12/19/19 12:55:17AM
brian
@brian
5 years ago
10,148 posts
There is no "raw" image URL in Jamroom - all image requests must go through Jamroom's Image support module. However, you can use the "original" size to get what you want. Just make sure the "Block Original Download" option is UNCHECKED in the Core -> Image Support -> Global Config, then you can request the "original" size image - just use "original" instead of large, xlarge, etc.

Note that this is done so Jamroom can properly handle profile privacy.

Let me know if that helps.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
michaeld
michaeld
@michael-d
5 years ago
92 posts
So yes, I use the proper image URL with "original" and this works..
.However, itunes keeps reporting an error when running it through their podcast validation website.
The image shows up in their validation, but also reports an error...
and I'm thinking it's because they want to see the source URL?


--
Thank You
~Michael
Audio Engineer | Graphic and Design |

https://www.damatoproduction.com
https://www.HomeStudioMusicProduction.com
https://www.ShotsInOrder.com
https://www.playgroundz.rocks
michaeld
michaeld
@michael-d
5 years ago
92 posts
This is the error itunes reports

Podcast artwork must be between 1400 x 1400 and 3000 x 3000 pixels, JPG or PNG, in RGB color space, and hosted on a server that allows HTTP head requests.

I know the image size, format, and color space meet the requirements..and I've validated the http header requests were working from a different validation site


--
Thank You
~Michael
Audio Engineer | Graphic and Design |

https://www.damatoproduction.com
https://www.HomeStudioMusicProduction.com
https://www.ShotsInOrder.com
https://www.playgroundz.rocks
brian
@brian
5 years ago
10,148 posts
I have a feeling it is related to the HEAD request. What is the URL to one of your images so I can check it out from here? I can look at it in the AM and let you know. The URL shouldn't matter and I don't think that is the issue.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
michaeld
michaeld
@michael-d
5 years ago
92 posts
Another validator reported this...looks like it wants the see the extension in the URL

WARNING: Image file is not typed properly--for content type image/jpeg, the file extension should be one of the following: jpg, jpeg, jpe.


--
Thank You
~Michael
Audio Engineer | Graphic and Design |

https://www.damatoproduction.com
https://www.HomeStudioMusicProduction.com
https://www.ShotsInOrder.com
https://www.playgroundz.rocks
michaeld
michaeld
@michael-d
5 years ago
92 posts
sorry we posted at about the same time...so replying again

Another validator reported this...looks like it wants the see the extension in the URL

WARNING: Image file is not typed properly--for content type image/jpeg, the file extension should be one of the following: jpg, jpeg, jpe.


--
Thank You
~Michael
Audio Engineer | Graphic and Design |

https://www.damatoproduction.com
https://www.HomeStudioMusicProduction.com
https://www.ShotsInOrder.com
https://www.playgroundz.rocks
brian
@brian
5 years ago
10,148 posts
OK - just add /image.jpg to the end of the image - if you're doing it in a loop in a template it will be something like:

[cpde]
/image.{$item.audio_image_extension}
[/code]

Here's your forum image here with /image.jpg added to the end (note that JR doesn't care about it):

https://www.jamroom.net/user/image/user_image/62/icon/crop=portrait/_v=17b3f1532811104/image.jpg


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

updated by @brian: 09/18/19 07:35:06PM
michaeld
michaeld
@michael-d
5 years ago
92 posts
I'm using /original

then what?


--
Thank You
~Michael
Audio Engineer | Graphic and Design |

https://www.damatoproduction.com
https://www.HomeStudioMusicProduction.com
https://www.ShotsInOrder.com
https://www.playgroundz.rocks

updated by @michael-d: 09/18/19 07:59:21PM
brian
@brian
5 years ago
10,148 posts
You can just add /image.jpg to the end - i.e..

https://www.playgroundz.rocks/webhosting/profile/image/profile_image/2/original/image.jpg

Just note - if you are generating these image URLs inside a template, you will need to use the right template variable for the extension - i.e. $item.audio_image_extension

If you KNOW all your images are JPG images, you can just use /image.jpg at the end of your image URLs.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
brian
@brian
5 years ago
10,148 posts
michaeld:
I think I got it....

https://www.playgroundz.rocks/webhosting/profile/image/profile_image/2/original/image.jpg

Literally, add image.jpg love it!!!

Sounds good :)


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
michaeld
michaeld
@michael-d
5 years ago
92 posts
Would audio work the same way?

add audio.mp3 at the end of a url?


--
Thank You
~Michael
Audio Engineer | Graphic and Design |

https://www.damatoproduction.com
https://www.HomeStudioMusicProduction.com
https://www.ShotsInOrder.com
https://www.playgroundz.rocks
michaeld
michaeld
@michael-d
5 years ago
92 posts
I'm answering my own questions...Well, I just checked that too! Love It!!!


--
Thank You
~Michael
Audio Engineer | Graphic and Design |

https://www.damatoproduction.com
https://www.HomeStudioMusicProduction.com
https://www.ShotsInOrder.com
https://www.playgroundz.rocks

Tags