Trying to select a video with the Image field

Permalink Browser Info Environment
Hello Ramon,

I'm trying to make a block where there is an option to select an image of a video file, next to some other options.
The point is that then a try to search the file manager with the Image field box, the directory with the video's (mp4), they are not visible so not selectable.
While the video files are in the File manager and file extensions are accepted for mp4.
Any workaround options?

Best regards,
Vincent Koning

Type: Ticket
Status: In Progress
vincedelaking
View Replies:
ramonleenders replied on at Permalink Reply
ramonleenders
Hi Vincent,

The thing with the "Image" field type, is that you have to select an image. A MP4 file isn't an image though. You'd have to select a "File" field type instead. I just tried with version 9.1.x of ConcreteCMS and with the File field type it works. With the image field type, it indeed does not work since it is not an image. I am assuming the same goes for version 8.x of ConcreteCMS. Does that help? It would mean you need to choose a different field type instead.

Kind regards
Ramon
vincedelaking replied on at Permalink Reply
vincedelaking
Hi Ramon,

But off course, have used it as a PDF link block, but shows the path to the video file so with some work will show the video as well.
Thanks for pointing me out.

Kind regards,
Vincent

concrete5 Environment Information

# concrete5 Version
Core Version - 8.5.7
Version Installed - 8.5.7
Database Version - 20210623000000

# Database Information
Version: 10.3.35-MariaDB-1:10.3.35+maria~focal
SQL Mode: STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION

# concrete5 Packages
Block Designer (3.4.0), Block Designer Pro (3.1.0), ExchangeCore reCAPTCHA (1.1.1), Formidable (Full Version) (2.1.7.1), Styled Maps (2.0.0)

# concrete5 Cache Settings
Block Cache - Off
Overrides Cache - Off
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache

# Server API
cgi-fcgi

# PHP Version
7.4.30

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dba, dom, exif, fileinfo, filter, gd, gettext, hash, iconv, imagick, imap, intl, json, libxml, mbstring, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, readline, Reflection, session, SimpleXML, soap, sodium, SPL, sqlite3, standard, sysvshm, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zip, zlib

# PHP Settings
max_execution_time - 300
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 5000
memory_limit - 4294967296
post_max_size - 256M
upload_max_filesize - 256M
mbstring.regex_retry_limit - 1000000
mbstring.regex_stack_limit - 100000
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
unserialize_max_depth - 4096
opcache.max_accelerated_files - 10000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.