Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define Image Sizes for Tours, Destinations, and Accommodation Posts #392

Closed
8 tasks done
Tracked by #361
ashleyshaw opened this issue Oct 10, 2024 · 0 comments · Fixed by #452 or #447
Closed
8 tasks done
Tracked by #361

Define Image Sizes for Tours, Destinations, and Accommodation Posts #392

ashleyshaw opened this issue Oct 10, 2024 · 0 comments · Fixed by #452 or #447
Assignees
Labels
[Status] Needs Design Needs design efforts. [Status] Needs Dev Ready for, and needs developer efforts [Type] Discussion For issues that are high-level and not yet ready to implement.
Milestone

Comments

@ashleyshaw
Copy link
Member

ashleyshaw commented Oct 10, 2024

Description

We need to establish consistent image sizes for the Single Post, Featured Image, and Archive Page Thumbnails for Tours, Destinations, and Accommodation posts within the Tour Operator plugin. This will ensure that all images are displayed correctly across different sections of the site, improving visual consistency and performance. Additionally, we should explore the new custom aspect ratio feature in WordPress 6.6 to provide more flexible design control for these images.

Tasks

  • Define image size for display on single tour, destination, and accommodation posts.
  • Set the featured image size for the banner on individual posts.
  • Standardize the image size for thumbnails displayed on archive pages.
  • Define the following recommended image sizes in the codebase:
    • Background Images: 1920 x 1080 px
    • Header Banner Images: 1048 x 250 px
    • Thumbnail Images: 150 x 150 px
    • Landscape Featured Images: 1200 x 900 px
    • Portrait Featured Images: 900 x 1200 px
    • Blog Post Images: 1200 x 630 px
    • Hero Images: 2880 x 1500 px
    • Fullscreen Slideshows: 2800 x 1500 px
    • Gallery Images: 1500 px (width should be auto-scaled)
    • Logo Images: 200 x 100 px
  • Investigate adding custom aspect ratios using the new feature available in WordPress 6.6 for more flexible design control.
  • Register custom aspect ratios in WordPress 6.6 based on the specific image needs for Tours, Destinations, and Accommodation posts.

References

Acceptance Criteria

  • Image sizes are defined clearly in the codebase for single posts, featured images, and archive thumbnails.
  • Aspect ratio options are registered according to WordPress best practices.
@ashleyshaw ashleyshaw added [Status] Needs Design Needs design efforts. [Type] Discussion For issues that are high-level and not yet ready to implement. labels Oct 10, 2024
@ashleyshaw ashleyshaw added this to the 2.0.0 milestone Oct 10, 2024
@github-project-automation github-project-automation bot moved this to Needs Triage in Tour Operator Oct 10, 2024
@ashleyshaw ashleyshaw mentioned this issue Oct 12, 2024
37 tasks
@ZaredRogers ZaredRogers added [Status] Needs Dev Ready for, and needs developer efforts [Type] Discussion For issues that are high-level and not yet ready to implement. and removed [Type] Discussion For issues that are high-level and not yet ready to implement. [Status] Needs Design Needs design efforts. labels Oct 21, 2024
@ZaredRogers ZaredRogers moved this from Needs Triage to 📥 Needs Dev in Tour Operator Oct 21, 2024
@ZaredRogers ZaredRogers added [Status] Needs Design Needs design efforts. [Type] Discussion For issues that are high-level and not yet ready to implement. labels Oct 21, 2024
@ZaredRogers ZaredRogers self-assigned this Oct 21, 2024
@ZaredRogers ZaredRogers moved this from 📥 Needs Dev to 🗣️ In Discussion in Tour Operator Oct 21, 2024
This was referenced Dec 3, 2024
@krugazul krugazul closed this as completed Dec 3, 2024
@github-project-automation github-project-automation bot moved this from 🗣️ In Discussion to ✅ Done in Tour Operator Dec 3, 2024
This was linked to pull requests Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Status] Needs Design Needs design efforts. [Status] Needs Dev Ready for, and needs developer efforts [Type] Discussion For issues that are high-level and not yet ready to implement.
Projects
Archived in project
3 participants