[wp-hackers] wp_get_image_editor and updating metadata and thumbnail references

Gregory Lancaster greglancaster71 at gmail.com
Mon Feb 17 19:33:39 UTC 2014


So an unset or array_push wont work here?  I just need to swamp one image
for another in the sizes array

On Monday, February 17, 2014, Marko Heijnen <mailing at markoheijnen.nl> wrote:

> This because WP_Image_Editor isn't for that. It only does resizing and you
> have to do the storing yourself.
> You could look into https://github.com/markoheijnen/WP_Image.
>
> Marko
>
> Op 17 feb. 2014, om 12:33 heeft BenderisGreat <greglancaster71 at gmail.com<javascript:;>>
> het volgende geschreven:
>
> > I am making use of the wp_get_image_editor, but am finding the resized
> image
> > does not get saved into the media library, or with any metadata, etc...
>  Is
> > there a way to store the newly resized images in the library and update
> the
> > original image references so the new resized image is referenced as a
> custom
> > size? Maybe by name, rather than thumbnail call it newsizethumb, for
> > example.
> >
> >
> >
> > --
> > View this message in context:
> http://wordpress-hackers.1065353.n5.nabble.com/wp-get-image-editor-and-updating-metadata-and-thumbnail-references-tp43358.html
> > Sent from the Wordpress Hackers mailing list archive at Nabble.com.
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com <javascript:;>
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com <javascript:;>
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list