WordPress.org

Forums

HMS Testimonials
[resolved] Allow user to upload image with their testimonial (12 posts)

  1. bullseyedesigns
    Member
    Posted 12 months ago #

    I seem to have a problem allowing a visitor to upload an image with their testimonial.

    I have option 14 on the Settings page ticked.
    I have a custom field for images set in the custom fields.
    I can upload/attach an image to the testimonial via the admin area.

    The problem i have is that when i try to add an image to a new testimonial via the [hms_testimonials_form], it doesn't show. Is it uploading? Or is there a problem?

    Hope you can help!

    https://wordpress.org/plugins/hms-testimonials/

  2. Jeff K
    Member
    Plugin Author

    Posted 12 months ago #

    Hey there,

    When you view the testimonial in the WP-Admin -> Testimonials section does it show up?

  3. bullseyedesigns
    Member
    Posted 12 months ago #

    WOW quick response, thanks.

    I've just noticed that it's NOT showing in the admin, it was yesterday when i first uploaded it but it's not now.

    But it is showing on the actual web page with the testimonial.

  4. Jeff K
    Member
    Plugin Author

    Posted 12 months ago #

    Weird. I will try to look into it this weekend.

    I wonder if there is a difference if you are logged in or not.

  5. bullseyedesigns
    Member
    Posted 12 months ago #

    I have tried that (both logged in as the main admin, and logged out). Both times it's the same for me.

    I look forward to seeing if you can work it out.

    Thanks

  6. Jeff K
    Member
    Plugin Author

    Posted 12 months ago #

    Sure thing.

  7. Jeff K
    Member
    Plugin Author

    Posted 12 months ago #

    Hey bullseyedesigns,

    I just tested it on my setup and worked as expected. What version of the plugin are you using?

    In the admin it should show up in the "Name" box just below the editor.

  8. bullseyedesigns
    Member
    Posted 12 months ago #

    Hi,
    I'm using the latest version as only installed it the other day.

    Please note that i am only using it on my pc (localhost) at the moment as the site is not live, so i can't give you access.

    I have placed some image files in this Dropbox link that show you what setting i am using. Maybe it will help in working out if i have a setting wrong. (https://www.dropbox.com/sh/64wl0y90ppge0g6/AACdjRAI3Ar2-yZoI1Gh73Jka)

    When i get it online i will let you know if i still have problems.

    Thanks

  9. Jeff K
    Member
    Plugin Author

    Posted 12 months ago #

    Very weird. In "Untitled-6.jpg" you can see the "Remove Image" link. That only shows up when an image is attached but it should show the image. What browser are you using?

  10. bullseyedesigns
    Member
    Posted 12 months ago #

    I'm using firefox 29.0.1. I haven't tested it yet on another browser.

    The image did show in the admin the first time i uploaded it, but now it doesn't. Although i'm not too worried about this bit, it's still something not working as it should.

  11. bullseyedesigns
    Member
    Posted 8 months ago #

    It's been a few months since i noticed this problem. There's been updates on the plugin, but still the image does not show in the admin.

    Have since noticed that the image is there, but it is hidden by the plugin css using...

    .testimonial-image {
        height: 0;
        width: 0;
    }

    After doing some research i remembered that i followed the information on this post https://wordpress.org/support/topic/photos-not-appearing-and-no-formatting?replies=10 that stated "If you set both width and height to 0 in the settings you can control the width and height with your regular CSS."

    This obviously works on the actual website by not giving any height and width attributes to the image, but it seems that it also plays with the admin side of things and hides the image in the admin. Now how do i go about stopping this?! Surely the image in the admin should just show the thumbnail of the uploaded image, so the user can see what the image is.

    Hope you can sort this.

  12. Jeff K
    Member
    Plugin Author

    Posted 8 months ago #

    There we go. The admin no longer uses the size from the settings when showing the image.

    v. 2.2.26

Reply

You must log in to post.

About this Plugin

  • HMS Testimonials
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.