Skip to content
This repository has been archived by the owner on Oct 13, 2020. It is now read-only.

Background-fill fail online, but work on localhost #51

Closed
Colir opened this issue Feb 7, 2013 · 4 comments
Closed

Background-fill fail online, but work on localhost #51

Colir opened this issue Feb 7, 2013 · 4 comments

Comments

@Colir
Copy link

Colir commented Feb 7, 2013

Hi,
i use this code to place thumbnail of logo centered in a white square

160, 'height' => 160, 'background_fill' => '255255255') ) ?>

This work well on my wamp : the logo is centererd in my square without croping and with white space added to fill the square : perfect!

But online, i've only a resize of the image, but the image is not square with whit fill...

How to debug this ?

thanks

@joehoyle
Copy link
Member

joehoyle commented Feb 7, 2013

Hi there,

Background resize is currently only supported by gd, if the server is running off imagemagick (or maybe gmagick) you won't get any background fill.

@Colir
Copy link
Author

Colir commented Feb 8, 2013

OK, i've just check the spec of my host, and the gdlib is active.

(from phpinfo)
GD Support enabled
GD Version bundled (2.0.34 compatible)

Anything else that could break the background fill feature ?

@Colir
Copy link
Author

Colir commented Feb 8, 2013

Ok find, it was causing by the use of an old version of the plugin.
On my hosting i'm downloaded it from the wordpress plugin directory, and this is not the lastest version.
Perhaps it will be great to update the wordpress plugin directory ?

thanks a lot

@joehoyle
Copy link
Member

joehoyle commented Feb 8, 2013

Ahh right yes, we need to update the plugin on the directory asap. Sorry for the confusion

@joehoyle joehoyle closed this as completed Mar 2, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants