![]() |
How to import wordpress photos/vids from your server (not via upload)?
I don't need a gallery maker but just want to add media that is already on my server (same domain) instead of loading it through the usual uploader.
Wanting to be able to use the gallery feature that I have and just tell it where to pull the images. Is there a plugin or easy fix for this? Or is there a setting that I've never known about? I know I can do it with something like UU Gallery, but I don't want to change the gallery maker. |
|
in ssh if you have it ...
Code:
#mv /home/user/CurrentPath/filename.jpg /home/user/NewPath/filename.jpg chown if changing ownership (ch(ange) own(er)) |
you could also use cp instead of mv ...
cp=copy (makes a duplicate in a new location) |
Quote:
You know a plugin that will do the same thing and allow me to keep a folder structure? |
Quote:
/gallery01 /gallery02 /gallery03 Instead of putting them all into upload/2011/may/ |
Quote:
cp -r the directory to the path in the WP installation (-r or -R = recursive (all subdirectories and their files too) |
Could be an alternative way to handle it with a CDN plugin, which w3 total cache does for example even though it's not strictly a CDN plugin.
http://webmasters.stackexchange.com/...the-filesystem |
All times are GMT -7. The time now is 03:14 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc