Jump to content
  • 0

Problema caricamento immagini .jfif


trattore

Question

Salve ragazzi, qualcuno sa dirmi perchè se carico immagini con estensione .jfif esempio, come ora me lo mette come allegato, e non le visualizza nel post? c'è un modo per permettere la visualizzazione?

48bb732f-065d-4c7a-bb61-be0581ef86d9.jfif

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

ora ho inserito solo immagini e video ma mi da il blocco, come facccio a permettere altre estensioni img

Immagine 2025-05-01 185849.png

Mi sembra assurdo che nn ci sia la possibilità di aggiungere estensioni immagini

Link to comment
Share on other sites

  • 0

Alla fine bisogna mettere mano nel file che si trova su 

system\Image\Image.php

e sostiture le parti con

public static $imageExtensions = array( 
    'gif', 'jpeg', 'jpe', 'jpg', 'png', 
    'webp', 'svg', 'bmp', 'tiff', 'tif', 
    'avif', 'heic', 'heif', 'jfif'
);

/**
 * @brief	Image Mime Types
 */
public static $imageMimes = array( 
    'image/gif', 'image/jpeg', 'image/pjpeg', 'image/png', 
    'image/webp', 'image/svg+xml', 'image/bmp', 
    'image/tiff', 'image/avif', 'image/heic', 
    'image/heif', 'image/jfif'
);

Cmq è assurdo che dal pannello le estensioni img siano limitate a 4!

  • Like 1
Link to comment
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.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. to insert a cookie message.