#49823 closed defect (bug) (duplicate)
WP_Customize_Cropped_Image_Control Default Image Doesn't Display
| Reported by: | Schwarttzy | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Customize | Version: | 4.2 |
| Severity: | normal | Keywords: | needs-patch |
| Cc: | Focuses: |
Description
I've been wanting to use the customizer control WP_Customize_Cropped_Image_Control in my theme for years. However, the default image needs to have an attachment ID to work in WP_Customize_Cropped_Image_Control. Whereas the customizer control WP_Customize_Image_Control just uses an URL to display the image.
When developing a theme the author is left in a conundrum because they cannot have a default image display without adding the image to the database. However, that in itself would be ill-advised because theme developers are not allowed to mess with the database unless the user chooses the theme mod option.
Is there something I'm missing? Could WP_Customize_Cropped_Image_Control be made to display a simple URL for the default image?
Change History (4)
#1
follow-up:
↓ 2
@
6 years ago
- Keywords reporter-feedback added
- Severity major → normal
- Version 5.4 → 4.2
#3
@
6 years ago
- Keywords reporter-feedback removed
- Milestone Awaiting Review
- Resolution → duplicate
- Status new → closed
Thanks! In that case, I'm going to mark this ticket as a duplicate of #42075 so that we can keep the conversation in one place.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Hi @Schwarttzy, and welcome to Trac!
I see that you also found and commented on #42075. Would it be safe to say that that ticket describes the same issue or pretty close to it?