Jump to content

Display custom profile field uploaded image in a pages block


AlexWebsites

Recommended Posts

Posted

I'd like to create a block where I can display the image that is uploaded into a custom profile field. Currently I have this content in the database within field_30 so I need to be able to pull that image path to display. Basically I have a custom profile field where members can upload a logo. I'd like to create a block to show all the logos horizontally. Is it something like

{$record->field_30}

which doesn't work and then in the database the file path is after the /uploads/.....so not sure if there is a good way to pull and build the url to show within an img src tag.

Posted

Thanks for the reply @opentype I think I made a mistake from where I'm trying to pull data into a CMS block. I'm trying to grab data from my field_30 in the table core_pfields_content which holds all the core custom profile field data I believe. 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...