Advanced custom fields – Postprocessing – Media library – Get only images from the current post

I have a couple of ACF frames for posts And I just want to query the images that have already been uploaded in the media library browser and used for the current post. In other words, when I open the media library in an image field, I just want to see the images in this post.

I made that up. But it doesn't work.

  • I can upload an image to a field
  • Then I don't see the image from the first field in the second field.
  • (even after saving the contribution)
  • It is now called no items found

This is my code:

add_filter('ajax_query_attachments_args', 'show_current_post_attachments', 10, 1);

function show_current_post_attachments($query = array())
    $post_id = $_POST('post_id') ;
    $query('post__in') = ($post_id);

    return $query;

How to save HEIC images as JPEG on iPhone – social media marketing (SMM)

Source: How to save a HEIC image as JPEG on iPhone

Apple has built-in functions for camera formats for taking pictures and videos in HD quality (HEIC) and sequence pictures. However, you can use HEIC instead of JPEG files, and your videos will automatically get HEVC instead of H264.

The advantage of these new functions is that you can convert your photos into lower quality for little space in high quality. You can save more pictures and videos on your iPhone device. These features were introduced in 2015 and may be better from an earlier format like GIF. GIFs are more useful to present animated videos and photos on mobile phones today for an update on social media like Facebook, Twitter, Instagram, etc.

HEIC and HEVC files are still not generally supported on all devices. If you want to take HEIC photos with your iPhone, you want to send them to friends or family who are using Windows computers.

Here are some methods for exporting your HEIC and HEVC files to JPEG files and H264 files. If you continuously send pictures to relatives and friends who are not using recently launched or current devices, you can export your photos to JPEG format. You get the same image quality in a small space. How to save Apple iPhone and Apple iPad images exported from HEIC file format to JPEG.

1. Click Settings.

2. Press on camera.

3. Hit formats.

4. Change the camera format from the default setting to "Compatible". This is a highly efficient setting that allows you to automatically save images in JPEG format and videos in H264 file format.

You can also visit the website below. | | |

Partitioning – Which partition table is used for a hard drive that only contains media data?

I have a 250 GB hard drive that only stores media data such as videos, pictures and music. I will not load an operating system on it.

So I completely deleted its content and it currently contains only zeros. I wanted to create a partition table for it with gparted, but I don't know which one to choose. The default setting for a hard disk with <2 TB is msdos (MBR) and standard for> 2 TB gpt, So I chose msdos but the gparted documentation states:

To use a disk without a partition table, choose loop to create a virtual partition that spans the hard drive. Then format to the desired file system.

So it is a good idea to create a hard drive without a partition table and therefore select it loop ? Or should I just use it msdos ? – When transferring media from iPhone to Mac using the macOS Photos app, the media is transferred in full original resolution

By default, when transferring media from iPhone to Mac using the macOS Photo app, are the media transferred in original resolution, frame rate, etc.?

I refer to both photos and videos, especially videos.

If not, how can I transfer the media, especially videos, in full resolution?

Do you remember 2016 when the liberal media said Trump didn't stand a chance and he won?

The reason we think you are stupid is because you don't seem to notice that we all live in the same country. They cheer for things that will ruin our country because they will make the liberals cry. BUT YOU ALSO LIVE HERE.

For example, if you cheer for Obamacare's lifting because you think it will harm people you don't like, you are so stupid that you don't realize that YOU are losing benefits that you now have in terms of health care , Become smarter.

media – WordPress image title attribute becomes permalink?

Ah, you discovered attachments 🙂

The media library is not a file browser, and things placed in the upload folder don't just appear in the media library. Have you never wondered how WordPress saved the titles and captions for images?

When you upload a photo, WordPress creates a post of the type next to the physical file attachment, As we know, posts have title, content, post meta, etc. The parent post is the post to which an attachment is attached or to which a post is uploaded (which is not reliable, however, since an image appears in more than one post) can).

One consequence of this are attachment pages that have their own template. When you add an image, you can link to its media page. You can use this as an opportunity to add comments, show more details, etc

As Jacob said, these are normal and have always existed in WordPress and are intentional. It is not something that has occurred as an error, it is not strange, and it is present in some form on every WordPress site.

You can get them in code by getting an attachment permalink or using the dedicated API function. You can also simply click the Attachment View Page link in an attachment view:

Enter image description here

You can even edit the permalink on the attachment editing page:

Enter image description here

On my site there is even a yoast SEO box to optimize the attachment page for rankings