extensions icon indicating copy to clipboard operation
extensions copied to clipboard

🐛 [Resize Images] PNGs not getting converted.

Open SwiftTrack opened this issue 1 year ago • 11 comments

[READ] Step 1: Are you in the right place?

Issues filed here should be about bugs for a specific extension in this repository. If you have a general question, need help debugging, or fall into some other category use one of these other channels:

  • For general technical questions, post a question on StackOverflow with the firebase tag.
  • For general Firebase discussion, use the firebase-talk google group.
  • To file a bug against the Firebase Extensions platform, or for an issue affecting multiple extensions, please reach out to Firebase support directly.

[REQUIRED] Step 2: Describe your configuration

  • Extension name: storage-resize-images
  • Extension version: 0.2.6
  • Convert image to preferred types
    • Convert image to preferred types

[REQUIRED] Step 3: PNGs are not being converted to .jpeg - as in config unless uploaded directly to FB storage. My web app can use PHP or JS and both cases, the png stays as a png.

Steps to reproduce:

What happened? How can we make the problem occur? This could be a description, log/console output, etc.

Expected result: /resources/example_1000x1000.jpeg
Actual result

/resources/example.png

SwiftTrack avatar Sep 15 '24 12:09 SwiftTrack

Hi @SwiftTrack

Thanks for raising this issue, we're reviewing it and will provide updates as soon as possible!

cabljac avatar Feb 11 '25 15:02 cabljac

Hi @SwiftTrack can you please provide your extension configuration? I can't initially reproduce the issue and need more information.

Image

cabljac avatar Feb 12 '25 10:02 cabljac

Hi, Jacob.

Thank you for your support.

Thanks - please see attached. We’ve recently put something in our app to make file paths convert to lower case, so PNG is no longer an issue, tbh.

The other thing, which is an ongoing issue, that you might be able to help me with to do with the config, is that we have people uploading files from mobile devices, which are typically portrait, but when they are resized, they are cropped, in our case, to 1000x1000. How do I get it not to do this? I want these to be maximums, not absolute dimensions if possible.

Kind regards,

Matt Riley

Kind regards,

Matthew Riley Chief Technical Officer

https://swifttrack.co.uk/ e: @.*** @.***> ⋮ w: www.swifttrack.co.uk https://swifttrack.co.uk/ SwiftTrack: Enterprise Village, Prince Albert Gardens, Lincolnshire, DN31 3AT

SwiftTrack is a trading name of Swift Track Digital Limited. Company Number: 10781097.

Information in this email and any attachments is confidential, and may not be copied or used by anyone other than the addressee, nor disclosed to any third party without our permission. There is no intention to create any legally binding contract or other binding commitment through the use of this electronic communication unless it is issued in accordance with the SwiftTrack standard terms and conditions of purchase or other express written agreement between SwiftTrack and the recipient. Although SwiftTrack has taken reasonable steps to ensure that this communication and any attachments are free from computer viruses, you are advised to take your own steps to ensure that they are actually virus-free.

On 12 Feb 2025, at 10:39, Jacob Cable @.***> wrote:

Hi @SwiftTrack https://github.com/SwiftTrack can you please provide your extension configuration? I can't initially reproduce the issue and need more information.

Screenshot.2025-02-12.at.10.38.55.png (view on web) https://github.com/user-attachments/assets/d42acf2e-1dbe-416b-bb46-ba0bf6eb1caf — Reply to this email directly, view it on GitHub https://github.com/firebase/extensions/issues/2178#issuecomment-2653328440, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMBNPAMJPJJ77QHNBD7M7AL2PMQGNAVCNFSM6AAAAABOHYW2N2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNJTGMZDQNBUGA. You are receiving this because you were mentioned.

SwiftTrack avatar Feb 12 '25 13:02 SwiftTrack

Hi, Jacob.

Do you know if this issue is scheduled to be rectified soon?

Thanks,

Matt

deploydevelopment avatar Feb 27 '25 13:02 deploydevelopment

Hi, thanks for the feedback! I'll review this and provide updates asap.

cabljac avatar Mar 04 '25 09:03 cabljac

@SwiftTrack when you reply via email I won't be able to see attachments on github, as far as i understand. can you paste the config in the body?

cabljac avatar Mar 04 '25 09:03 cabljac

@deploydevelopment are you experiencing the same issue? can you provide more information to help me reproduce?

cabljac avatar Mar 04 '25 09:03 cabljac

Hi @deploydevelopment sorry for the delay, a lot of high priority work came up which pushed this back.

I'll reprioritise this to try and get it reproduced and resolved for you.

cabljac avatar Sep 11 '25 07:09 cabljac

Adding the config screenshot here for convenience:

Image

cabljac avatar Sep 11 '25 07:09 cabljac

That’s great to hear - thanks Jacob.

Matthew Riley: Director Deploy™ Unit F3, Enterprise Village, Prince Albert Gardens, N.E. Lincolnshire, DN31 3AT Deploy Systems Limited. Company Number: 12134271. Information in this e-mail and any attachments is confidential, and may not be copied or used by anyone other than the addressee, nor disclosed to any third party without our permission. There is no intention to create any legally binding contract or other binding commitment through the use of this electronic communication unless it is issued in accordance with the Deploy Systems Limited standard terms and conditions of purchase or other express written agreement between Deploy and the recipient. Although Deploy Systems Limited has taken reasonable steps to ensure that this communication and any attachments are free from computer viruses, you are advised to take your own steps to ensure that they are actually virus-free. @.***

On 11 Sep 2025, at 08:40, Jacob Cable @.***> wrote:

cabljac left a comment (firebase/extensions#2178) https://github.com/firebase/extensions/issues/2178#issuecomment-3278927789 Adding the config screenshot here for convenience:

image.png (view on web) https://github.com/user-attachments/assets/e4dfd8cf-bd38-4b51-9c16-2d9c9f1a4dd5 — Reply to this email directly, view it on GitHub https://github.com/firebase/extensions/issues/2178#issuecomment-3278927789, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFL7U3MP6S4PYMFQMRMHUZD3SERP7AVCNFSM6AAAAABOHYW2N2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTENZYHEZDONZYHE. You are receiving this because you were mentioned.

deploydevelopment avatar Sep 11 '25 08:09 deploydevelopment