Not logged in. · Lost password · Register
Forum: General Help and Support Plugins RSS
Bureaucracy - upload images
Avatar
hj #1
Member since Apr 2008 · 186 posts · Location: Lancaster, UK
Group memberships: Members
Show profile · Link to this post
Subject: Bureaucracy - upload images
I've got myself in a right tangle with uploading images via my form - I'm sure I did this before, but can't remember how and nothing I do is working.

I've coded a couple of file upload boxes into my form, the fieldset code for this is:

fieldset
file "Upload file" !
file "Upload file" !

This displays as per attached pic. All good.

Where I'm really stuck is how to code the template so that it displays either...
1. a clickable link to open the file, or...
2. a thumbnail of the file (say 100px wide)

You'd think the placeholder might be just **files:** @@Upload file@@ but that doesn't work.  'pop' also helped me with this months ago and suggested **files:** {{@@Upload file@@?linkonly}}\\ .... but that doesn't work either, at least not now.

I notice that when I submit my form, image files are uploaded to the media manager. - e.g  media:triparchives:underground:2019-09-01-daniels_cave_area:deepintherainforest.jpg
While my form content creates a page at pages:triparchives:underground:2019-09-01-daniels_cave_area

Are my file uploads even being sent to the right place?

I've got myself in a muddle, any help appreciated!
The author has attached one file to this post:
Screen shot 2019-09-01 at 18.42.05.png 17.5 kBytes
You have no permission to open this file.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-11-18, 18:52:44 (UTC +01:00)