HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Limit video uploads to gallery only

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#71108 (In Topic #15001)
Avatar

Community saint

I need to allow members to upload video to one specific gallery however they should not be able to upload video anywhere else. I think I have the gallery side covered but there seems  to be a problem with catalog entries.

In my catalog, I have created a field of type "An uploaded picture" however members can upload a movie (in my case, an mp4) without getting an error until after the upload has apparently succeeded. They then get a message about a corrupted file or unsupported file type. The video file should be rejected when chosen or, maybe, there should be additional field type options.

Bob
Back to the top
 
Posted
Rating:
#71209
Avatar

Community saint

Any thoughts on this?

Bob
Back to the top
 
Posted
Rating:
#71227
Avatar

ocStaff (admin)

Sorry, client-side file-type validation is not supported, beyond checking against ocPortal's site-wide file-type restrictions.



Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter







If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
Posted
Rating:
#71248
Avatar

Community saint

Certainly not the answer I wanted to hear but I suspect my use case is probably quite a bit different than the most ocPortal users.

I'd personally like to see the galleries based on catalogs with the "gallery" just a presentation layer that could be assigned to specific catalogs.

Bob
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: