Have you considered using WP’s add_image_size
function? Here’s the Codex entry.
Basically you could add all the sizes you require throughout your theme via your functions.php and then call the appropriate size in your page/post template.
Good luck!
Related Posts:
- Using media-upload.php to upload mp3 via custom fields
- Extend WP Customizer to make multiple image selection possible
- Saving Custom Field in Attachment Window in WordPress 3.5
- WordPress custom upload field error
- limit amount of photos uploaded per cpt post
- Metabox with multiple fields added by user and upload box
- Metabox image upload and custom field
- wp_handle_upload error “Specified file failed upload test” but still creates attachment?
- Insert attachment ID in custom field from media uploader
- How to save media files under custom folder without changing wp-config.php or changing media settings
- How can I store a file in the database in the same way WordPress and ACF do?
- How do i save and retrieve custom attachment meta?
- Is there a simpler version of WP Media?
- Client PDF Upload (Catalogue) – Automatically update link to PDF
- How to add upload video option in wordpress for user?
- Uploading PDF using Media Uploader
- Select multiple images from custom field
- WordPress Media Uploader custom Javascript not working
- How to use media upload on metabox post page without breaking TinyMCE?
- Front-End User Profile
- Image upload and path to custom field
- How to delete file uploaded by Plupload
- Problem uploading different files as custom fields with front end post form
- How do I upload file through custom field, save it to database and get it
- Can you generate a featured image from two images from custom fields?
- want to add video upload option for front end user
- display custom media folders to wordpress media popup
- Custom Meta Boxes and Fields for WordPress: Change directory upload based on user-edit page
- Change path to child of page when uploading image via custom field
- How can I create more “create attachment” custom field – any idea?
- Upload image to wordpress
- Multiple image uploader under editor?
- unlink() doesn’t delete the uploaded file
- Save Custom Meta Value on Media Upload
- Individual Widgets per Page
- How to add add_meta_box to specific Page Template?
- Apply the_content filter to a custom field with multiple values
- Meta Query with AND & OR?
- Auto sort the wp-admin post list by a meta key
- Adding another state (spam, reject, approve) to wordpress comments?
- Filter archive.php by custom meta
- How do I search an array stored in a custom-field using WP_Query?
- Get updated meta data after save_post hook
- Custom text-only header
- Show User Their Password
- How to reload the role specific registration form on validation errors?
- Currency (price) formating on custom fields
- Adding Custom Text Area to WooCommerce Product
- Gravity Forms: Create fields programmatically
- Get multiple custom field values in a $wpdb query [duplicate]
- Order by value in serialized custom field
- Populate Custom Field Dropdown on Theme Install?
- Make URL in custom field hyper link
- meta query not showing any results?
- meta_query for a string inside a meta field containing a comma-separated list
- Combine multiple custom field values into single value
- Creating a custom menu/widget area
- Can’t get post ID using wp_insert_post_data
- Modifying custom order item meta from admin order view
- Let users track progress by entering a number daily in profile?
- WooCommerce – Adding Custom Fields To Invoice
- Changing themes… and need to move Custom Field content into another field
- Filter Posts on Custom Fields and Show them on a new Page
- $form_fields from attachment_fields_to_edit returning empty array
- How to link keywords in custom fields?
- Customizing WP user profile with custom fields
- Redirect to another page using contact form 7? [closed]
- Adding custom field to post object from custom table
- Auto embeding Vimeo/Youtube in custom fields (tinyMCE editor)
- How do I use “if field exists” with $curauth?
- Using abs() with custom field in orderby statement
- Can’t save custom field on registration page
- Read more to open external link
- Custom metabox not displaying multiselect data in edit mode
- check for duplicate user meta data before updating
- WP Cli – post add meta in xargs after wp post generate – add multiple fields
- Anyone know how to use ACF and show custom fields for logged in users only on a post? [closed]
- How to redirect to home page according to a specific page custom fields value and user name
- How to print the Custom fields values [closed]
- custom field in admin columns
- Custom metabox not working
- Populate wordpress menu with link to custom field value (file download)
- Selectively hiding or allowing thumbnails of featured images on front page
- Adding data to User profile
- How can I change author of posts to the value of one of the custom field of the posts?
- Is it possible to add Term Meta Fields to a WooCommerce Attribute?
- Saving custom form data
- register_form, custom field not submitted on first try
- Echo out custom fields in comments
- Query Custom Fields in Searchform
- Make custom user_meta as permalink for post
- Creating Structured Documents (books) in WordPress?
- Filter query based on date in custom field
- Convert all dates in field to Unix time, except those already in Unix time
- Convert many posts from having a specific meta_key to use a post_format
- Custom fields: my custom checkbox area doesn’t seem to work
- get_post_custom_values not working
- Show div based on custom meta value
- add multiple values (array) to post meta_input
- Assign class to Drop Down Selections in WooCommerce Products Custom Fields