Displaying an image as a thumbnail

Permalink Browser Info Environment
Is there a way to output a thumbnail of an uploaded image in the Data List template?

Can it grab the thumbnail version of the file, as opposed to the full size version? Something like
<field name="Photo" format="thumbnail" />
?

Type: Discussion
Status: New
RebeccaSt
View Replies:
geekeboy replied on at Permalink Reply
geekeboy
Just noticed that you can do this to reduce the dimensions:

<img src="{{upload-photo}}" width="100px" />
jgarcia replied on at Permalink Reply
jgarcia
Add width="XX" and/or height="XX" to the <field /> element, and Data Display will generate a thumbnail on the fly.
lbooth replied on at Permalink Reply
lbooth
I'm still struggling to show an uploaded file as a thumbnail within my data display listing..? Can you please post the full working code.
lbooth replied on at Permalink Reply
lbooth
Sorry just read the documents about "The Placeholder Attribute" so it now makes perfect sense.
jgarcia replied on at Permalink Reply
jgarcia
Perfect :)
ArchiCentre replied on at Permalink Reply
ArchiCentre
Nice one - thanks for the steer. Works here too.

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

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

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.