Ecotrust / ocs-wp

Worpress Implementation of ODFW's Oregon Conservation Strategy
Other
1 stars 0 forks source link

Fixed Heights on Grid Images and Wrap Text on List Images #63

Closed dnseminara closed 8 years ago

dnseminara commented 8 years ago

200px on KCI, Ecoregions, COAs, SH, SS

dnseminara commented 8 years ago

@willthemoor - the desired original height for the grid images is 200px.

I'm altering init.php (line 32) - but it never seems to apply my height parameter to all images in the grid. Does this WP codex function only affect images that have yet to be upload and not those that already have been the past? I've tried several variations (messing with the hard crop boolean) - even setting height to 9999 - per stack overflow posts. I've also tried restarting my server, restarting the watch and emptying my cache. Any suggestions or is this perhaps a constraint on the original image size?

add_image_size( 'grid', 9999, 200 );
ldford commented 8 years ago

@dnseminara try dancing blindfolded by the light of the full moon. I heard Will saying that works for website image sizing.

dnseminara commented 8 years ago

@ldford - i'm going with 185px for the height. At 200px some of them seemed a little wonky.

End result (currently) is 255x185. Let me know if you still want more height.

screen shot 2015-12-31 at 3 33 51 pm screen shot 2015-12-31 at 3 34 30 pm

ldford commented 8 years ago

That looks good to me.

willthemoor commented 8 years ago

Me too!