Problems, need help? Have a tip or advice? Post it here.
2 posts Page 1 of 1
Hi,

When uploading a 'photo' for a dynamic folder is there a way to set an upload size (similar to when you set an editable field on a template)?

The dynamic folders tool is a great way to manage photo albums on a site and the client would like a cover photo for each album. However, when they add an image to the folder it simply uploads a full-size image which naturally takes forever to load in the browser.

Thanks, Sam
Hi Sam,

Compared to 'pages', the 'folders' unfortunately don't get the kind of attention they deserve so I am afraid there is no direct method of changing the way things work.

However, there are always workarounds.
Two come to my mind -
1.
There are two parts to it -
a. In the admin panel, reduce the size of the displayed image as described here - viewtopic.php?f=4&t=11241
b. On the frontend where you display the image, channel it through <cms:thumbnail> tag (http://docs.couchcms.com/tags-reference/thumbnail.html). This will physically create a smaller version of the image like type 'image' does.

2. As an alternative, use 'extended-folders'
viewtopic.php?f=5&t=8581
https://www.couchcms.com/docs/extended- ... /post2.htm
to replace the existing image field by adding your own type 'image' editable region with the desired width and height and hiding the original region by injecting some CSS as shown here -
viewtopic.php?f=4&t=7301#p10220

Hope the reply helps.
2 posts Page 1 of 1