Title: attachment page/image problem &#8211; overwrite template image.php
Last modified: October 12, 2019

---

# attachment page/image problem – overwrite template image.php

 *  [asking30](https://wordpress.org/support/users/asking30/)
 * (@asking30)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/attachment-page-image-problem-overwrite-template-image-php/)
 * Hi everybody,
 * i am using the OceapWP theme and love it. But i have a pretty big problem:
 * i am an artist and therefore have a lot of pictures. i am using the “attachment
   page” so that people get redirected to the picture. But the problem is, the picture
   is too small and the text should be on the right side
 * [https://abstraktegemälde.com/the-fight-of-colors2_50x40](https://abstraktegemälde.com/the-fight-of-colors2_50x40)(
   this is how it currently looks)
 * I have searched in forums and someoen said to “overwrite theme template image.
   php”. The truth is: i got no clue how to do it.
 * Can someone pls help me out or tell me where i can find it? I have been looking
   for 3 days.
 * Thank you!
    -  This topic was modified 6 years, 8 months ago by [asking30](https://wordpress.org/support/users/asking30/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fattachment-page-image-problem-overwrite-template-image-php%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [Amit Singh](https://wordpress.org/support/users/apprimit/)
 * (@apprimit)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/attachment-page-image-problem-overwrite-template-image-php/#post-12026311)
 * Hello,
 * You have set the container width to 374px, therefore, it is appearing small. 
   Try to remove it to fix it. Instead of creating a different template, try to 
   add some css code to make the attachment page as per your need.

Viewing 1 replies (of 1 total)

The topic ‘attachment page/image problem – overwrite template image.php’ is closed
to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/oceanwp/4.1.6/screenshot.png)
 * OceanWP
 * [Support Threads](https://wordpress.org/support/theme/oceanwp/)
 * [Active Topics](https://wordpress.org/support/theme/oceanwp/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/oceanwp/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/oceanwp/reviews/)

## Tags

 * [attachment page](https://wordpress.org/support/topic-tag/attachment-page/)

 * 1 reply
 * 2 participants
 * Last reply from: [Amit Singh](https://wordpress.org/support/users/apprimit/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/attachment-page-image-problem-overwrite-template-image-php/#post-12026311)
 * Status: not resolved