Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Limiting file fields to a single image? #5946
    Adrian
    Member

    Strange! Can you tell me at what point your process differs from what I have? This is how mine is working at the moment:

    – Click the “Select” button, Media Library lightbox loads
    – Click on an image, by holding shift two or more can be selected
    – With one selected, hit “Select” on the Media Library lightbox
    – Thumbnail shows on the edit profile page with check mark in the corner
    – Clicking “Select” again allows the process to be repeated but choosing another image loads a second thumbnail next to the first.

    The issue I have is that users will click “Select” to choose a new header image but it will just add a second one which won’t have any effect on the page.

    in reply to: Limiting file fields to a single image? #5944
    Adrian
    Member

    No joy with that either. I should point out that I’m using the media uploader rather than the basic one – possibly not obvious just from the omissions of ‘basic’ => true in my code.

    What you’ve said would, I think, work fine with the basic uploader as it would add set the “multiple” attribute of a HTML5 input type upload to false.

    in reply to: Limiting file fields to a single image? #5942
    Adrian
    Member

    No difference sorry!

Viewing 3 posts - 1 through 3 (of 3 total)