Change default image size on attachment pages
-
I use a template that uses something similar to attachment.php to make pages for thumbnail images (‘linked to page’). The default size seems to be hardcoded by php somewhere to 300px height (which is small compared to my main content well). I can see it when I view source. I want to constrain the width to max. 400px WIDTH so the images will fill the template better. Currently, the user can click the image on the attachment page for full size but it loads as just the jpg on a blank page. I want the image to fill the template by setting the max proportions myself. I can’t see any size values in my php attachment pages and I can’t see where I can set those values from word press. Any ideas? Thnaks.
- The topic ‘Change default image size on attachment pages’ is closed to new replies.