Skip to Content Skip to Menu

Profile Gallery Item Links

4 years 1 month ago #321036 by smanderscheid
Profile Gallery Item Links was created by smanderscheid
Hi there,

In the past I was able to populate a direct link to a pdf that a user would have uploaded to their gallery tab in their CB profile. I can't seem to figure out how to populate this now. Is there any information you can provide? I think the part that's tripping me up is the gallery id. Is there another way to point to this uploaded resource? We're looking to keep it housed in their profile, but also point to it from a mobile app.

Thanks for your consideration!
Stacey

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48548
  • Thanks: 8290
  • Karma: 1445
4 years 1 month ago #321038 by krileon
Replied by krileon on topic Profile Gallery Item Links
Profile galleries will rebuild their gallery when directly linking by id. This will be improved later where streams will be predefined and stored in the database so stream id would just be a 1-2 digit value. So for example the below can link to a gallery entry directly.

Full Size:
index.php?option=com_comprofiler&view=pluginclass&plugin=cbgallery&action=item&func=show&id=MEDIA_ID&format=raw

Thumbnail Size:
index.php?option=com_comprofiler&view=pluginclass&plugin=cbgallery&action=item&func=preview&id=MEDIA_ID&format=raw

For a File media type you'd use the below if you want the URL to just directly download it.

index.php?option=com_comprofiler&view=pluginclass&plugin=cbgallery&action=item&func=download&id=MEDIA_ID&format=raw

Official sharing functionality will be implemented after the gallery storage behavior is implemented.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: smanderscheid

Please Log in or Create an account to join the conversation.

4 years 1 month ago #321041 by smanderscheid
Replied by smanderscheid on topic Profile Gallery Item Links
thank you so much for that! This works great when I'm logged in to the website as an admin. Is there a way to access these files without being signed in?

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48548
  • Thanks: 8290
  • Karma: 1445
4 years 1 month ago #321043 by krileon
Replied by krileon on topic Profile Gallery Item Links
Ensure CB Gallery is accessible to public users and it should work fine. Profile access permissions, gallery tab access permissions, and CB Privacy can all influence this.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

4 years 1 month ago #321049 by smanderscheid
Replied by smanderscheid on topic Profile Gallery Item Links
I'll take a look!

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum