A way to point to a file and return its URL?

Permalink Browser Info Environment

Is there a way for this plugin to easily get an image's URL from the file manager and return that URL in the block?

I need to trigger a lightbox modal and the href requires the URL path for a large image.

any ideas?


PS - great add-on! can't wait to keep working with it!

Type: Pre-Sale
Status: Resolved
View Replies:
ramonleenders replied on at Permalink Reply
Hi there,

If you don't resize the image, you will see the full URL to the image in the view file ($yourImage->getURL()). So, you would only need to change view.php to make it work. So copy everything between src=" and the ending quote and you should be perfectly fine.

If you're not that familiar with PHP, I can guide you of course, no problem!
ramonleenders replied on at Permalink Reply
Let me know if you have it figured out, this way I can close the support ticket! :)

concrete5 Environment Information

# concrete5 Version

# concrete5 Packages
Block Designer (0.9.8).

# concrete5 Overrides
blocks/resume_entry, blocks/swipebox_image, languages/da_DK, languages/de_DE, languages/el_GR, languages/fi_FI, languages/fr_FR, languages/it_IT, languages/ja_JP, languages/nl_NL, languages/ru_RU, languages/sl_SI, languages/sv_SE, languages/tr_TR, themes/shelly

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

# Server Software

# Server API

# PHP Version

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dom, ereg, exif, filter, ftp, gd, gettext, hash, iconv, imagick, imap, json, libxml, mbstring, mcrypt, mhash, mysql, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_sqlite, posix, pspell, Reflection, session, SimpleXML, soap, sockets, SPL, sqlite3, standard, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib.

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - -1
max_input_vars - 1000
memory_limit - 90M
post_max_size - 7M
sql.safe_mode - Off
upload_max_filesize - 7M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
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 - 1440
soap.wsdl_cache_limit - 5

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.71 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.