cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Occasional Contributor

Image URL parameters

Hi,

Pictures in our community have following URL:

<community-domain>/t5/image/serverpage/image-id/4337i5CAC35A3CAB5DEA8/image-size/original?v=1.0&px=-1

Can someone explain what is the purpose and which URL parameters are optional?

  • v (example value 1.0)
  • px (example value -1) - seems to be overridden by 'original'/'medium'/'small'
  • is there is some parameter to crop pictures into squares?

Thanks for the insights!

 

2 Replies 2
Highlighted
Honored Contributor

I don't actually know the answers to most of your questions but I can tell you that everything after the ID number can be dropped and the image loads fine.

Highlighted
Honored Contributor

Avatar crop dimensions are defined in your skin properties' "Image and Avatar Crop Defaults" section. I.e. your stage URL at 

/t5/bizapps/bizappspage/tab/community:studio:community-style:properties?skin=<your_skin_name>

You could probably re-purpose some of the built-in avatar definitions to become a square one.

If you appreciate my efforts, please give me a kudo ↓
Accept as solution to help others find it faster.