Text link to image

Permalink
Hello,

How do you make a standard text link open an image from the file manager?

For example if I create a text link in a content block called "My new car" and wanted it to open an uploaded image in the file manager how would I do that? Either in a new window or current parent window. Ideally I'd like it to open via lightbox.

It seems simple enough, but the closest I've come is making it link to a file and having it download separately to the computer. Thanks in advance!

teddadore
 
platypusman replied on at Permalink Reply 1 Attachment
platypusman
...which I am having a hard time doing -- because of the versioning system in C5, an image you would expect to exist in /files/ is actually stored in /files/8812/5702/1160/... or something, but not necessarily permanently... It's very confusing, and I am at times resorting to direct FTP upload of images rather than using the CMS for this reason.

But if you *can* figure out the URL for the image, it should be simple enough to add a link to it in the WYSIWYG editor of the regular Content block (screenshot attached).
teknotica replied on at Permalink Reply
teknotica
Download ZoomImage block from Concrete5 -it's Free!- and then you can add a new field in the view (controller and db respectively) called "link text"

S.
teddadore replied on at Permalink Reply
teddadore
Wow, thanks this may work.