3

I made two different types of Assets: one for images and one for PDF. They works in 2 differents folder to avoid to mix them.

Using them inside entries it works good, if I try to upload something different I receive an error message.

If I click Assets on the main Menu (not inside entries) I'd like limit the upload to the asset I choose.

It means that I would like prevent to upload a pdf on asset images and vice versa and I'd like also to prevent uploading of any different file types.

Not sure if Im doing something wrong or its the natural behaviour of CRAFT.

2

The ability to restrict the allowed file types is defined on a per-field level.

In order to do what you're looking for, it would have to be defined on a per-asset source level, so no... it's currently not possible natively.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.