nextgen is currently storing the my images in my cms folder ie. public/cms/wp-content/gallery
This is problematic in many ways especially when backing up the site. Is there any way this can be changed. I am already defining the content url correctly but nextgen seams to be ignoring that.
Thanks for your help
]]>If you don’t see this as an essential feature, could you please tell me at least is it’s possible so I can search for someone to make the tweak for me?
Best regards!
]]>the plugin lazy load changed site image path https to http…why??
<div class="shadow MB25"><a href="/astrotype/weekly-rashi-bhavishya/"><br />
<img src="//xxxxxxxxxx/xxxxxxxplugins/a3-lazy-load/assets/images/lazy_placeholder.gif" /><noscript><img src="https://xxxxxxxweekly_astrology1.jpg" /></noscript><br />
</a></div>
</div>
my site is https://xxxxx.com….but image path was changed form this plugin..
please help…
]]>the first site works fine for uploads and images
when I created a new multisite all images are not showing
where they upload them to (dmuc/uploads) work fine for the main first site
the new site upload them to for example (/dmuc/uploads/sites/3/2019/08/Ar_logo-1.jpg)
but when i come to see the image link i found it put the name of the site before it for example
example.com/esas/dmuc/uploads/sites/3/2019/08/Ar_logo-1.jpg
gives error not showing anyone know how to help ASAP? i use security plugins and deactivate all of them but no luck
here the wp config
define ('WP_CONTENT_DIR',__DIR__ .'/dmuc');
define('WP_CONTENT_URL','https://195.246.50.245/dmuc');
define( 'UPLOADS', 'dmuc/uploads' );
/* Multisite */
define('MULTISITE', true);
define('SUBDOMAIN_INSTALL', false);
define( 'DOMAIN_CURRENT_SITE', '195.246.50.245' );
define( 'PATH_CURRENT_SITE', '/' );
define('SITE_ID_CURRENT_SITE', 1);
define('BLOG_ID_CURRENT_SITE', 1);
for htaccess i use security plugins so will find it long
[[Large code excerpt removed by moderator per forum rules. Please use Pastebin or a Gist for all large code excerpts, they work better anyway.]]
]]>For example, I have an image that is in the Media Library with this path:
https://mysite.com/wp-content/uploads/2019/07/[email protected]
It was inserted into a page such as https://mysite.com/sample-page/.
When I look at the Index Coverage report in Google’s Search Console, the image is indexed with the following path:
https://mysite.com/sample-page/[email protected]
Is there a setting in LiteSpeed Cache that is doing this? We’d like to turn it off.
]]>After the transfer, I tried to optimize the images with several plugins; each image plugin produces the same error, which comes down to “Could not find 2018/05/imagename.jpg” and “The fullsize image file cannot be found in your uploads directory at 2017/06/blog-post-1.jpg”, and so on.
Things to note:
1. All images are working properly on the site and have the url of hostname.com/wp-content/uploads/2018/05/imagename.jpg, with the corresponding year/month of upload.
2. Images newly uploaded produce the same error.
3. An image that is newly resized with a new file created inside the WP Media Library does not generate this error.
4. The majority of the image paths start with http: and only ones uploaded recently have https: ; however, this does not seem to have an effect on whether or not it will work, as noted in #2.
I have already tried all of the following:
1. Set permissions of folders to 755 and files to 644 via FTP, and double checked in cPanel to see if these were being reflected.
2. Deleted a month’s image folder and uploaded a backup via cPanel.
3. Gone into MySQL and set upload_path to wp-content/uploads (which was blank before I set the path)
4. Gone into wp-config via FTP and added define( ‘UPLOADS’, ‘wp-content/uploads’ ); right after
if ( !defined(‘ABSPATH’) ) define(‘ABSPATH’, dirname(__FILE__) . ‘/’);
and before
require_once(ABSPATH . ‘wp-settings.php’);
which is at the bottom of the file.
I have googled every iteration I could think of this problem and while the above solutions seemed to help others, they have not fixed my problem.
If anyone has any idea on a possible solution I would be grateful.
Thanks.
]]>I would rather serve my files from myimages.imageix.net/image.jpg, and leave out any path. Is there a filter or action I can modify to get this result?
]]>in a multisite installation, I suddenly noticed that NOT all images were displayed correctly (depending on website, themes and if the image is inside a post or another WP function).
After investigations I found out that most of the images are linked to a “weird” path:
https://example.it/files/2017/06/filename.jpg
rather than the “usual”
https://example.it/wp-content/uploads/sites/24/2017/09/filename.jpg
This has happened in all sites of the multi-site and I did not realise when (latest backup of 30 days ago is already like this).
Any help on how to get this sorted will be much appreciated, thanks!
Current workaround: I copied most important images to the “new” path but it takes ages and also, when uploading a new image, it doesn’t work as the folder is trying to upload probably doesn’t exist on the server
]]>YOU GUYS ROCK!
I tested three images that had steadfastly refused to change their paths (mostly WooCommerce category images and images placed in widgets) and your plugin caught them all.
THANK YOU!!!
In their media information I see that they are still using the /file/DATE method, despite ms_rewriting not being used and doing a database replace on the setting to make sure its set to 0. The URL settings on each of the sites are also blank out. I’m not sure what is forcing the OLD media library items to keep the old URL file structure. I did this before with another network site migration and I did not have this problem.
]]>