Alex Githatu
Forum Replies Created
-
Forum: Plugins
In reply to: [BuddyPress XProfile Custom Image Field] Errors when trying to upload imagesHi Scott,
I finally found time to run tests against WP 5.3.2/BP 5.1.2 and everything works as expected.
Kind regards,
Alex
Forum: Plugins
In reply to: [BuddyPress XProfile Custom Image Field] Errors when trying to upload imagesHi Scott,
It could be a version problem. The plugin is tested up to WP 5.3 and BP 5.0. If possible you could try downgrading to these and see whether that works. I’m some ways away from running tests on the latest versions of WP/BP.
Essentially, from the behaviour you’ve described, the image is being uploaded successfully but somewhere after that a fatal error is being encountered that prevents the image data from being saved (thus no image shows).
You could also take a look at the error log to get a more detailed depiction of the error. Here’s how to enable/access it: https://snapcreek.com/blog/wordpress-error-log-friend/
RE: Reunion site – specs from clients change all the time. It’s an accepted hazard of this trade.
Thanks…
Alex
Forum: Plugins
In reply to: [BuddyPress XProfile Custom Image Field] Errors when trying to upload imagesHi Scott,
Is there a “Delete” button next to the image field (even if the image is not showing). If so, click on it and save changes to clear the image data. Then remove the images from “wp-content/uploads/profiles”. Try the upload again and see if it works.
What version of WP/BP are you working with?
Kind regards,
AlexForum: Plugins
In reply to: [BuddyPress XProfile Custom Image Field] Errors when trying to upload imagesIs the folder ‘wp-content/uploads/profiles’ empty? This may cause a permissions issue.
Also are you using the image field on a custom form? If so ensure that the form’s encoding is
enctype="multipart/form-data"
. There’s some good explanation of this here: https://stackoverflow.com/q/4526273/212076- This reply was modified 5 years, 1 month ago by Alex Githatu.
Forum: Plugins
In reply to: [BuddyPress XProfile Custom Image Field] Errors when trying to upload imagesHi Scott,
Sounds to me like a WordPress rights issue. Test uploading of the images through other means:
1. Attach the same images to a WordPress post and see whether that works
2. Upload the images directly to the media libraryIf these two upload methods work then the image upload on the plugin should work too.
Alex.
Forum: Plugins
In reply to: [BuddyPress XProfile Custom Image Field] Bugs…Hello,
A few questions:
1. How did you delete the image?
2. What is$img
showing when you expect it to be empty?
3. What are you intending to achieve with empty$img
?Forum: Plugins
In reply to: [BuddyPress XProfile Custom Image Field] Align of the imageThat should be done through CSS. Modify your site theme’s CSS to change the size and positioning of the image.
Forum: Plugins
In reply to: [BuddyPress XProfile Custom Image Field] Undefined Constant ErrorI’ve changed this to a class constant in the latest version.
Forum: Plugins
In reply to: [BuddyPress XProfile Custom Image Field] Uploaded image cropCropping requires image preview which is not currently supported
Forum: Plugins
In reply to: [BuddyPress XProfile Custom Image Field] Great plugin will it work with 2.6?Working with 2.8
Forum: Plugins
In reply to: [BuddyPress XProfile Custom Image Field] How code to can zoom imageWhat is the use case for this?
Forum: Plugins
In reply to: [BuddyPress XProfile Custom Image Field] Image not showingThis is fixed in 2.0.2
Forum: Plugins
In reply to: [BuddyPress XProfile Custom Image Field] Error with BP 2.7.2Thanks for the note. I’m updating the plugin to take care of that warning.
Forum: Plugins
In reply to: [BuddyPress XProfile Custom Image Field] Problem with WP 4.0 and BP 2.1.1Hi imagecrisis,
Two questions:
1) Have you tried using the default ‘twentyfifteen’ theme without any customization? The profile fields all show properly out-of-the-box without requiring any further code.2) What code are you using to display the other profile fields such as ‘Name’?
Forum: Plugins
In reply to: [BuddyPress XProfile Custom Image Field] Problem with WP 4.0 and BP 2.1.1@imagecrisis I’ve updated the plugin to support editing profile images on the admin backend.