Image preview size for file_list field #471

Merged
merged 3 commits into from Mar 2, 2014

Conversation

Projects
None yet
3 participants
Contributor

IgorCode commented Mar 2, 2014

Added option to specify image preview size for file_list field. Accepts standard WordPress size i.e. either a string keyword (preregistered image size) or a 2-item array representing width and height in pixels, e.g. array(100, 100).

jtsternberg and others added some commits Feb 26, 2014

@jtsternberg @IgorCode jtsternberg Update file_list image styling to only be applied to file_list type 37af7e7
@IgorCode IgorCode Image preview size for file_list field
Added option to specify image preview size for file_list field. Accepts
standard WordPress size i.e. either a string keyword (preregistered
image size) or a 2-item array representing width and height in pixels,
e.g. array(100, 100).
79bd0d6
@IgorCode IgorCode Merge remote-tracking branch 'upstream/trunk' into trunk b1a7975
Collaborator

jtsternberg commented Mar 2, 2014

I like it.

@jtsternberg jtsternberg added a commit that referenced this pull request Mar 2, 2014

@jtsternberg jtsternberg Merge pull request #471 from IgorCode/trunk
Image preview size for file_list field. Props @IgorCode.
f6876da

@jtsternberg jtsternberg merged commit f6876da into WebDevStudios:trunk Mar 2, 2014

Hi guys,

how can I use this feature into my file_list? I added 'preview_size' => array( 100, 100 ) but my images are size full.

Can you help me please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment