RM 1.0 Upload Images File Types


Active member
How might one allow attaching other file types such as pdf to a resource description?

Without that I'm like :cry: (rolling on the floor crying)...


Active member
the button uploads images as attachments (like normal)

it can in fact upload other file types as attachments (like normal) depending on $attachmentConstraints['extensions']


but then it only displays attached images (abnormally)


RM uses attachments differently in a way that is not consistent with the rest of the forum

I am simply asking if it is possible to get it to behave more normally with respect to attachments


XenForo moderator
Staff member
Only images are permitted in resource descriptions.

If you want to allow additional file types that is a feature request.


Active member
k, thanks, I will submit that as a suggestion

I was able to add more extensions to $attachmentConstraints['extensions'] in model/update.php

and one if statement in template resource_update just needs an else clause to show the non-image attachment types

once I find the right template code to put there I will be like :D(y):cool::ROFLMAO::p:whistle:

XF is the coolest... RM is to....