ryan

PW 3.0.67: Upgrades to file/image tags

Recommended Posts

26 minutes ago, matjazp said:

Happening to me on PW 3.0.71 

I think this has to do with how the core inits the field on reloaded, the module does it differently (thanks to @Robin S) and the tags remain in place.

Share this post


Link to post
Share on other sites
6 hours ago, Pixrael said:

why webp still is a invalid file extension?? No make sense for me if I only need to use the url to the file in my pages, I'm not processing the image data.. only print the path

PW creates thumbnails for files uploaded to an image field, so the file type needs to be something that the ImageSizer supports. Webp is not yet supported.

If you just need the path then you can use a file field.

Share this post


Link to post
Share on other sites
9 hours ago, Macrura said:

you can add those to your AdminCustomFiles,

@MacruraI tried that and css is applied to .ImageData but it doesn't help in my case... Didn't try your module ...

Share this post


Link to post
Share on other sites

sorry,  my first reply was a mistake, thought i edited it, but instead added a 2nd reply - the first reply only fixes the z-index issue; in terms of why the tags all vanish, it must be something with the JS init; for any sites in production, i have now switched over to use the module, and it works fine, and fixes both the vanishing tags and the z-index;

depending on how you use image tagging you should be able to seamlessly switch between core tagging and module tagging, as long as you don't use the label/value pairs that the module features. At this stage the differences can be summed up:

| Feature                   | Core | Module |
|---------------------------|------|--------|
| Label/Value Pairs Support | N    | Y      |
| Z-index problem           | Y    | N      |
| Template context support  | N    | Y      |
| Tags vanish on upload     | Y    | N      |
  • Like 1

Share this post


Link to post
Share on other sites

WordPress guys have already "invented" the idea of integrating a 3rd party plugin into the core of the next major release. If developers can nominate and vote for the next such plugin/module then it is a very effective way to boost the system with features most people need.

  • Like 1

Share this post


Link to post
Share on other sites
On 8/11/2017 at 5:25 PM, Robin S said:

PW creates thumbnails for files uploaded to an image field, so the file type needs to be something that the ImageSizer supports. Webp is not yet supported.

If you just need the path then you can use a file field.

Yes, I know, but what I need is to insert the images into CKEditor, it looks like I'm finally going to have to do a hanna code for that. Thanks anyway

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.