How to change media file upload date in WordPress? - wordpress

I am redesigning a website and both are based on WordPress. This is basically a Podcasts website. I am having an issue which is media files upload date in the new website. File Uploading date for Media files on the previous website is different than in the newly created one. I need the same date as of the previous site but I am not being able to do it. I will really appreciate any help, please.

Workaround is to create a post with the same date as the folder you want to upload the image to. Then upload the image from within that post. WP will put it in the matching year/month folder.
https://organicweb.com.au/wordpress/image-wrong-date/

Related

Bulk uploading and linking images for WooCommerce

I'm planning out how to bulk upload a few thousand products to WooCommerce, and I don't know how to proceed with images. Is there a better way than uploading them all and then manually copying the URL from the media gallery to my CSV?
Is it possible to name the images in such a way that they get recognized and automatically associated to the corresponding product?
What about gallery images, should they be named the same with a number at the end?
I'm building the site locally for now and the images are on my computer, what will happen with the images when I host it online? Thank you for your help!
PS: I know there are plugins that do this, but I'm looking for a non-plugin alternative.
There is an inbuilt option in WooCommerce to import products, you can use that.

How to have thumbnails in different folders than the original image show up in media library?

We are migrating a database from a custom CMS to WordPress and one of the challenges we are facing is that the previous CMS stored thumbnails in different folders than the original image (folders also include second and if the thumbnail was generated a few seconds later it would be stored differently) and we are mapping those for the WordPress thumbnails (as there are hundreds of thousands and we do not wish to regenerate what already exists).
The issue is that WordPress automatically wants to add the folder structure of the original image to the thumbnails and therefore breaks the URL.
Consider original is:
2018/12/13/06/18/22771810000000_43_240.jpg
We are storing the full path of thumbnail images like below (serialized in postmeta):
2018/12/13/06/19/22771810000000_43_240.jpg
WordPress displays thumbnail like so:
2018/12/13/06/18/2018/12/13/06/19/22771810000000_43_240.jpg
How can we tell WordPress not to add the trailing folder schema from the original image?

Bulk Attach Media Files To WooCommerce Products

I have currently uploaded all of my product images to the server using FTP, registered them using the Add From Server Plugin. I have also uploaded a CSV file containing my products which also includes the image gallery column, which contains the corresponding image URL. The Problem is that it appears that these images are not attached to the products and the URL's of the images in my media file return a 404 page.
Any help would be much appreciated, thankyou Alex.

How to make quick edits to images uploaded to media library

When I have images uploaded to Wordpress, there is no way for me to flexibly edit these images. For example, let's say I want to add a colored overlay over an image that has been uploaded to Wordpress. For me to do this, I have to add the overlay to the image, then upload the new modified image to Wordpress. When I am developing a non-Wordpress site, however, all I have to do is link to the photo in the CSS, then using the Image Assets generator, the linked image is changed on the fly. This saves me from having to re-upload photos every time I make a change.
Is there any Photoshop script or plugin, or just a method in general for editing photos without having to re-upload them to Wordpress?
There isn't any script out there that I know of, but if you have access to the wordpress uploads directory via an ftp client, you can edit the originally uploaded file and then use a plugin like Regenerate Thumbnails to update the smaller and automatically generated images.

Wordpress embed pdf automatically after upload via media

I want to upload pdf files via media->add new which should be automatically embedded to a unique page for displaying it. So that I can just give that page link to my client to view the uploaded pdf.
Please help me.
I am not sure what you mean by "embedded to a unique page"
But when you upload a file in Wordpress, it gives you the direct URL to the uploaded file in many locations .
You can simply give that URL to anyone you desire.
and also in the Edit Media screen
As well in other places as well - > But I think you get the point .

Resources