Jump to content

using image field only for thumbnails


Frank Vèssia
 Share

Recommended Posts

I'm storing my images on Amazons3 using an url field inside a template as my image path but i want to store only the big version on Amazon and let PW take care of the small thumbs.

The problem is that the image field stores the original image before creating the thumb. Is there a way to save the first image already as thumb using the size() function ? something like $page->images->add()->size() and than save? :)

Link to comment
Share on other sites

Since you'll be maintaining separate thumbnails from the large images, then I would just consider any images you upload to your PW install to be thumbnails. You can set the max width/height in the image field settings, so you'd just choose dimensions that are consistent with your thumbnails.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...