Broken image link rendering in image element

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/
 

Attachments

  • broken_images.PNG
    broken_images.PNG
    532.8 KB · Views: 35
I have no clue. I'd have to install Community Builder and test it. Which isn't something I'm super keen on doing in Standard support, as it'll take me an hour to get everything installed, setup and a test case built.

-- hugh
 
I've gone back over this a few times and feel confident this is a bug, I've tried the following paths...

images/comprofiler/
/images/comprofiler/
/images/comprofiler
images/comprofiler

With the same results in the URLs, there's nothing special about the comprofiler content
 
I'll put it on the list of issues with the image element I need to look at. One of my aims for this release cycle is to make some major improvements to the image element, which is very, very old code that hasn't had much love for a while.

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top