- This topic has 6 replies, 3 voices, and was last updated 5 years, 9 months ago by Tom.
January 21, 2015 at 3:12 pm #67453alw
I am using a featured image that was uploaded as 990×180, but my Container Width is set to 1100px. Using v0.5 of Generate-Page-Header my featured image displayed at 1100x200px, as I wanted.
But after upgrading to v1.1 of Generate-Page-Header, it is forced to 990px wide with the inclusion of width=”990″ in the HTML.
I have restored v0.5 of Generate-Page-Header for now, but can I get the featured image width to be the same as the Container Width using v1.1?January 22, 2015 at 12:16 am #67563TomLead DeveloperLead Developer
You may need to enable hard crop and set the width to 1100px.
Resizing up like this will result in quality loss, so I always suggest using a larger image and resizing down.
Let me know if you need more info 🙂January 22, 2015 at 6:48 am #67679alw
Resizing images can always result in quality loss, but with v0.5 this was barely noticeable.
I already have “Crop thumbnail to exact dimensions (normally thumbnails are proportional)” in Media Settings checked — this applies to all images in the Library.
My concern was that something changed between v0.5 and v1.1 of Generate-Page-Header:
With v0.5, the tag is:
img src=”http://xxxxxxxx.jpg” width=”1200″ height=”300″ alt=”” /,
but with v1.1 it is
img src=”http://xxxxxxxx.jpg” width=”990″ height alt=”” /.
(The actual image as uploaded is 990×180, and my container width is set to 1100)January 22, 2015 at 6:51 am #67680alw
Sorry about the last posting — I included unencoded HTML tags!January 22, 2015 at 11:01 am #67744TomLead DeveloperLead Developer
We changed the resizing script between those two versions to a much better one, so it’s definitely not out of the question that something changed.
When you set hard crop to 1200 width in the new version, does your image stay at 990?January 25, 2015 at 9:42 am #68669Harry
Image and content I add in the Page Header are not saving without any error. Am I doing something wrong? I am able to add the feature image fine.
Let me know if there is any adjustment that I need to make .January 25, 2015 at 3:50 pm #68758TomLead DeveloperLead Developer
Weird, sometimes metaboxes won’t save when there was a page template set that no longer exists.
Go to “Pages” and look for the problem page.
Click “Quick Edit”, and set the “Template” to “Default Template”.
That may fix it.
Let me know 🙂
- You must be logged in to reply to this topic.