• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

how do I change the size of image attachments

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › how do I change the size of image attachments

This topic is: not resolved

Tagged: attachment, image, image size, modify, single.php

  • This topic has 3 replies, 2 voices, and was last updated 11 years, 10 months ago by Brad Dalton.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • April 6, 2014 at 7:30 pm #98788
    souleye
    Member

    I have a photography website with hundreds of images. before I switched to a genesis theme, I had a theme that was displaying the image attachment in a very decent size and I took it for granted. the other day, when I checked an attachment, the image size was very small. I read up on how to make the changes by modifying the single.php file. well, when I checked those files or any other, they were totally empty barring the single line genesis(). I know it's a function call but I don't have a clue. if anyone could point me to the right direction, I would greatly appreciate it. thanks.

    http://www.sharpfocusphoto.com/dc-headshots/actors/alberto/actor-alberto_047/
    April 6, 2014 at 8:46 pm #98795
    Brad Dalton
    Participant

    Good question.

    You want the image size on the attachment page to be larger?

    I did notice that when i clicked that image on the attachment page, it does link to the image file and increases to the original size.

    Could you please link to the article about changing the single.php file as i might be able to build that code into a custom function.


    Tutorials for StudioPress Themes.

    April 6, 2014 at 9:53 pm #98813
    souleye
    Member

    thank you for your response. I think it's pointless to click on a thumbnail to be directed to an image that is hardly larger. having to do another click is poor usability. the article in question is at this url:
    http://www.wpbeginner.com/wp-themes/how-to-create-a-custom-single-attachments-template-in-wordpress/
    he added extra field for the photographer and his url. I'm not sure I need all of that. my previous theme (responsive) provided just the title, an image that was about 532px by 726px and exif data. I don't even think that exif is that important. desirable, maybe. essential no. thank you for looking into this.
    souleye

    April 6, 2014 at 11:28 pm #98814
    Brad Dalton
    Participant

    You could use that template in Genesis or filter the wp_get_attachment_image_attributes $size in your child theme using a custom function.


    Tutorials for StudioPress Themes.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble