Image settings does not support empty "list of valid resolutions" and "specify resolution that will be generated at time of editing". Suppose that I don't want to generate e.g. 640x480 resolution images because I'll upload correct images.

I have changed code to support empty list, fixed bug - add "<none>" to "specify resolution that will be generated at time of editing" and fixed bug in preview when no image was displayed (except original at second tab).

CommentFileSizeAuthor
image-fix1.txt3.59 KBtma0

Comments

Robrecht Jacques’s picture

Component: Code » image.module
Assigned: Unassigned » Robrecht Jacques
Status: Needs review » Active

- patch no longer applies.
- current image module always generates all defined sizes, there is no setting to override this.
- if you upload your image in the correct default size (eg 640x480 or 480x640), then no resizing is done. The only derivatives that are then generated are the smaller ones, eg the thumbnail.
- I suppose one could make the valid feature request: "Allow users to specify which sizes to auto-generate on creation". Although I don't really see a need for this personally.

Setting status to "active" as there is no available patch for this feature request.

Robrecht Jacques’s picture

Assigned: Robrecht Jacques » Unassigned

Unassigning me from this issue.

darren oh’s picture

Status: Active » Closed (fixed)