I asked a friend for help and solved it like this
<?php $thumb = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'NAME_OF_THE_THUMBNAIL_KIND' ); $url = $thumb['0']; ?>
<div id="featured" data-parallax="scroll" data-speed="0.1" data-natural-width="2304" data-natural-height="1536" data-ios-fix="true" data-position="top" data-bleed="10" data-image-src="https://wordpress.stackexchange.com/questions/220324/<?php echo $url ?>">
Related Posts:
- How To Delete Desired Image Sizes From wp-content/uploads?
- How can I upload video, generate thumbnail and convert to different formats?
- Thumbnails of same size with different crop
- How to Replace YouTube Videos with a “Click to Play” Thumbnail?
- image_resize in wp3.5 change to wp_get_image_editor and wont work
- Why is wp_get_attachment_image_src returning wrong dimensions? [duplicate]
- Stop wordpress from creating multiple size images
- Completly disable and remove Thumbnails?
- Store thumbnails and uploads in different directories?
- Getting specific image thumbnail urls of attached images
- wp_get_attachment_image() not working when trying to add width and height attributes
- WordPress 3.5 – Add custom image size
- Thumbnail is corrupt but image is good
- Thumbnails are not cropped even after selecting “Crop thumbnail to exact dimensions”
- Various thumbnail sizes for WordPress/jquery masonry gallery
- Detect if image file is a thumbnail
- Setting default thumbnails size & creating multiple thumbnail sizes
- Add_image_size not cropping
- Media Gallery Upload Thumbnail Compression is Changing Image Hue
- Custom image sizes only for thumbnails
- How to disable multiple thumbnail generation?
- Use ‘medium’ size with catch_that_image() function
- How can I get I get the thumbnail custom size dimensions?
- prevent wordpress from creating thumbnails of an image
- ‘Thumbnail’ and ‘Medium’ Image sizes are different than expected
- How to link to featured image to media file URL
- Open Image Thumbnail in a new page, while clicking on the link
- Thumbnails Not generated when sharing on WhatsApp
- Thumbnail position + size
- Why are some thumbnails on their side – but correct when I go to edit image? [closed]
- Is there a way to avoid using add_image_size? Best way to manage images
- Single-post preview repeats thumbnails in Jupiter Recent Posts widget
- How to fit image to Thumbnail canvas size?
- How to have the thumbnail cropping tool working
- Regenerate thumbnails for images that are not in the media library
- How can i make this in the_post_thumbnail?
- Custom image size mixes width and height in output
- Why are thumbnails not being generated for PDF files?
- Image Sizes/Thumbnails not generating on local install Ampps
- Thumbnail generating and posting
- Timthumb not working with WordPress 4.0
- the_post_thumbnail returns full sized image, how to debug?
- Disabling image thumbnails and automatic regeneration
- add youtube thumbnail in index and single.php add video
- Stop ‘alt’ from being added to the_post_thumbnail
- Exclude Multiple Post Thumbnails From Post Attachments
- Custom thumbnail crop offsets
- How can i place square Feature Image withing the body of post aligned top left or top right in wordpress?
- Can’t add thumbnail theme support
- Error 500 in loop to create posts and thumbnails
- How to reduce unnecessary thumbnail creation?
- thumbnail crop not working
- Best way to manage theme images
- how to place ELSE on if function on multipostthumbnails? [closed]
- add_image_size cropping changes on Mobile devices
- external url for post thumbnail and title
- Generate thumbnails like 500px.com
- Serving resized images on a responsive site without making 2x copies
- Thumbnails resized and not cropped in the center
- How to delete post thumbnails in index page? (twenty fourteen theme)
- get_intermediate_image_sizes() returning different values depending on is_admin()
- Display thumbnail of child, parent and ancestor using featured thumbnails
- Retrieve image from Open Graph of an external URL and set as featured image
- Media Library Image Sizes in Bones theme (add_image_size)
- Check if custom thumnail size image has been cropped to the correct dimensions
- Thumbnail Look For WP
- Can’t edit thumbnails
- get_the_term_list & url
- Thumbnails from video posts not working after upgrading to WP 3.4
- Thumbnail informations (meta)
- Thumbnails loading forever
- How to crop thumbnail size, from both width and height sides
- Getting post-thumbnail hentry category-error – How can I fix
- Add Title Attribute to WordPress Image the_post_thumbnail
- Cropped featured image replaces original image in gallery
- Can WordPress crop only the post thumbnails?
- WordPress remove EXIF Data from specific Thumb
- How to link to YouTube videos with thumbnails?
- Regenerate thumbnails unexpected resolution (96 x 96)
- If I Regenerate Thumbnails, would WordPress delete the existing Thumbnails and replace them with ‘new copies’?
- Aligning the thumbnail image
- force feed readers to pick atom version
- Delete associated thumbnails when calling wp_delete_attachment
- How to create resized versions of images added with wp_insert_attachment
- How to create thumbnails in wordpress with jwplayer
- How to change the thumbnail size to a specific category?
- Custom Post type slider with thumbnail navigation
- How to use default image as featured image by implement some code in function.php
- White image when I share my site
- display div tag only if post has thumbnail
- I cannot upload images to post or the media library in wordpress
- How to disable post-thumbnail from generation?
- Allow ‘Set featured images’ to select multiple images
- resizes images on the fly
- Why wordpress doesn’t generate thumbnails?
- Thumbnail With Next/Prev Links Not Showing Next Post?
- Making a thumbnail if there exist a link with. jpg or .png extension in WordPress
- Thumbnails for media Library images
- I would like my posts to pull my custom cropped thumbnail instead of creating its own thumbnail from Featured Image
- How to include featured image on blog post preview?