• Hey,

    The new column “ImageRecycle” on upload.php view add a button “Optimize”.

    For images (jpeg, png) all is fine, but for PDF, the link to optimize is “/wp-content/uploads/” so it doesn’t optimize (folder path).

    I’ve checked in the code, and I found in “class-image-otimizer” that there is no distinction between PDF or images when you get metadata. Is this normal ? I mean, PDF and images don’t save same metadatas. So when you try to get $meta[‘file’], this is empty for PDF. It only works for images…

    On ImageRecycle admin page it works because you get filepath differently. Maybe use it in the same way for ImageRecycle column in media library ?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PDF link empty’ is closed to new replies.