arcadeicons
Member
Using an image element to pull avatars into a list from an already existing table made by Community Builder.
table _comprofiler has a field called 'avatar' which stores 2 types of image info...
abcdefg.jpg - for an uploaded user Avatar
gallery/tn_cartoonbear.png - for a built-in gallery avatar a user chooses
when using the 'image' path option in the image Element with the following string "images/comprofiler/" it renders the gallery images correctly - #comprofiler___avatar string value is "gallery/tncartoon_goat.png"
output is:
http://www.arcadeicons.com/images/comprofiler/gallery/tncartoon_goat.png
but renders the uploaded image path wrong - #comprofiler___avatar string value is "632_58c2cb04c9f40.jpg"
output is:
http://www.arcadeicons.com/images/comprofiler/images/comprofiler/
table _comprofiler has a field called 'avatar' which stores 2 types of image info...
abcdefg.jpg - for an uploaded user Avatar
gallery/tn_cartoonbear.png - for a built-in gallery avatar a user chooses
when using the 'image' path option in the image Element with the following string "images/comprofiler/" it renders the gallery images correctly - #comprofiler___avatar string value is "gallery/tncartoon_goat.png"
output is:
http://www.arcadeicons.com/images/comprofiler/gallery/tncartoon_goat.png
but renders the uploaded image path wrong - #comprofiler___avatar string value is "632_58c2cb04c9f40.jpg"
output is:
http://www.arcadeicons.com/images/comprofiler/images/comprofiler/