Skip to content

File fields containing images are not displayed correctly #219

@dwanjuki

Description

@dwanjuki

Describe the bug
File type fields containing images are not displaying correctly in the Member Directory .
The filename shows beside the image and shifts the image to the left.

To Reproduce
Steps to reproduce the behavior:

  1. Create a File user field.
  2. Add the user field to your directory or profile's elements.
  3. Upload an image to the field for a member.
  4. View the member in the directory.

Screenshots
Image

Expected behavior
The uploaded image appears in full.

Isolating the problem (mark completed items with an [x]):

  • I have deactivated all other plugins and confirmed that this bug occurs when only Paid Memberships Pro and Member Directory and Profile Pages are active.
  • This bug happens with a default WordPress theme active, or Memberlite.
  • I can reproduce this bug consistently using the steps above.

WordPress Environment

Details PMPro 3.6.2 PMPro Member Directory 2.1.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions