Programmatically Adding an Image
-
Hi, thanks for the very useful plugin.
I am migrating a site, and I need to add images from the old site to the new, into a CIMY user field.
I am using:
$result = set_cimyFieldValue($user->ID, 'U_BUSINESS_LOGO', $logo['filepath']);
Obviously, ‘U_BUSINESS_LOGO’ is my field, and $logo[‘filepath’] is the full url to the image.I see in the DB that I am able to get the full url path (https://mydomain.com/wp-content/Cimy_User_Extra_Fields/myfile.jpg) into the ‘cimy_uef_data’ table.
However, when I visit the users profile page, there is no preview.
And way to make this show up?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Programmatically Adding an Image’ is closed to new replies.