News:

AbanteCart v1.4.2 is released.

Main Menu
support

****** please

Started by walkietalkie, December 28, 2023, 08:59:54 AM

Previous topic - Next topic

walkietalkie

Hello all you good people,

I have started to use this platform today. I am not an expert, but have used a couple of other platforms. I am trying to upload images to use in my store, however it just keeps coming up with "File Michael Ashby.jpg (Filetype not allowed)" I have tried .png and .jpeg and in different sizes. just will not allow me to upload any images. Can someone say what the problem is please?

Regards
Mike

Basara

Hello.
Please upload image somewhere and share it with us.
Make sure jpg and png in the allowed types https://abantecart.atlassian.net/wiki/spaces/AD/pages/24281122/Add+new+resource+type

GiddsMaster

Hi,

I have an issue where the filetype extension /.+(jpe?g|gif|png|ico|svg|svgz|webp|avif)$/i is changed with /.(jpe?g|gif|png|ico|svg|svgz|webp|avif)$/i without the + .
Everytime I fix it and check it again it does not show the plus sign and I keep getting filetype error when loading jpeg images.
Advancing Forward Ahead of Technology.

Basara

Quote from: GiddsMaster on May 04, 2024, 11:10:00 AM
Hi,

I have an issue where the filetype extension /.+(jpe?g|gif|png|ico|svg|svgz|webp|avif)$/i is changed with /.(jpe?g|gif|png|ico|svg|svgz|webp|avif)$/i without the + .
Everytime I fix it and check it again it does not show the plus sign and I keep getting filetype error when loading jpeg images.

Hello. You can try to update directly in the database in the resource_types table
UPDATE `abc_resource_types` SET `file_types` = '/.+(jpe?g|gif|png|ico|svg|svgz|webp|avif)$/i' WHERE `abc_resource_types`.`type_id` = 1;

Forum Rules Code of conduct
AbanteCart.com 2010 -