I am developing a wordpress website and am using the Advanced Custom Fields plugin to make a slideshow of images that will be displayed in a fixed position on the page. I have installed the plugin and created the custom field and everything is working fine, until when I have to upload the images: The media library does not load any images, and when I upload new ones it displays an error stating "An error occurred in the upload. Please try again later."
I have tried making other custom fields with text and they work as expected, it is only the media uploading that seems to be the problem.
Any answers, suggestions, tips or tricks highly appreciated!
Related
When I look at my Wordpress website, there is this error message on every page, even the pages that don't have any images
There are no photos with those IDs or post does not have any attached images!
I am using the Sinatra theme but I had the same problem when I was using the Twenty Nineteen theme. I am also using the Justified Image Grid plug-in and the error seems to be coming from this plug-in.
To solve this problem, I went to the plug-ins directory and downloaded justified-image-grid-core.php and removed the error message manually there. That did the trick.
I'm using nextgen gallery plugin to show image on my site. The images lists are showing pretty good in my page but whenever i click on the image it opens in new tab instead of fancybox.
I've tried using fancybox and also light box as Lightbox effect but none are working good.
Any help will greatly appreciated.
Thanks.
For detail here is my site's url. http://www.ace-holidays.com/trips/everest-base-camp-trek/ please checkout the Photos and Videos tab here.
Are you using a custom build theme?
There is an error in one of your JavaScript files: Uncaught TypeError: Cannot read property 'split' of undefined scripts.js?ver=1.0:316, this can block the execution of other JavaScript code, like the Fancybox.
If solving that error doesn't work, try using one of the default WordPress themes and check if it works in one of them. Also, make sure your theme is using wp_head(); and wp_footer();.
I'm having problems with the on page image uploader. Uploading images works fine. But when i'm on a page and I want to add an image there, I don't see the images that are already uploaded to the library. As a result, images get uploaded multiple times and now I have multiple copies of the same image in my media library.
Is anyone here familiar with this problem? I would really appreciate the help!
screenshots of the overall settings of my custom fields:
Check this screen-shot and change setting according to image.
You can find this setting here:-- wp-admin --> Custom Fields --> Edit Your Field Groups --> Select Field --> Find Library
Hope this will help you...
Solved it!
There was an error in a plugin I was using: Polylang plugin
In the settings there was an error saying that not every page and/or post had a language setup. Selected option to set standard language for every page and post and everything was fine!
I'm using wp_editor in a plugin to let users save some datas.
It's working fine on localhost, but on the website, I keep getting the same problem:
the editor is not themed and pre-text is HTML encoded.
Comparing the two HTML code, I discovered that on the website, what I see is the text area which is hidden in localhost.
Moreover, the iframe which is loaded in localhost and is supposed to theme and display the editor is not even loaded on the website.
Am I clear?
Any wonderful idea? :)
It seems there is a conflict between using the Simple Facebook Connect plugin and using the wp_editor function.
Deactivating the plugin made it work, I didn't look further...
To start with, I am not an expert of any kind. Codes drive me insane. I run a site called: http://nascentarray.com.
I moved the site from one host to another and after the migration, I found that many images were broken. So, I changed the permalink structure:
From: nascentarray.com/post-name/
To: nascentarray.com/year/month/date/post-name/
Everything looked fine until I started getting 404 errors on images interested into the posts directly.
To me more specific, I use two methods to insert images:
I use the Jetpack module of WP to create a gallery in mosaic layout that gives a carousel of images when someone clicks on the gallery.
For some posts, using Jetpack gallery module makes no sense and so, I simple insert individual images between texts using the simple media uploader.
Problem: The problem is with the posts where I do not use the Jetpack gallery module. When I click on a post, the post opens fine and shows all images in it. However, the moment I start clicking on individual images, they start giving 404 error.
Example: http://nascentarray.com/2013/02/08/tallest-buildings-of-2013/
Clicking on any image in the post will return a 404 error.
How to solve this problem? Anyone, please help me. This is so disturbing and I don't have enough technical expertise to deal with this on my own and so I can came here with a hope to find some help from experts.
The posts where you don't use jetpack image gallery module doesn't embed a gallery. Instead, you embed images in your posts individually. When you embed, there's option with image link whether you want to link image with post, attachment page, custom link or source file.
Your images are not linked to source file - instead those are linked to POST ATTACHMENT link.
Once you changed the permalinks structure of your post, the links associated with your image files were not updated and those remained as per previous permalink structure those don't exist now and thus it gives 404 error.
It's solution can be to revert your permalinks structure to previous one (short and immediate solution) and other solution can be writing a short script and update all links of images in batch with their source file or anything else.
Another solution is to use Yoast SEO plugin to generate redirect URL's for old backlinks.
See the guide in this blog post regarding this solution.
I hope this helps and you understand the issue now.
Your permalink structure is incorrect. You need to change it back to nascentarray.com/year/month/date/post-name/
If it's already that way, then you need to double check your folders in uploads. Because if you look at your one page here http://nascentarray.com/2013/06/17/stock-wallet-the-only-wallet-you-will-ever-need/
That image is linked with ../year/month/date/post_name/image_name/
i.e. http://i0.wp.com/nascentarray.com/wp-content/uploads/2013/06/stock_wallet_2.jpg?resize=389%2C176
Obviously your plugin for viewing galleries adds the extra stuff in the URL's.
Where as the link you gave above has just ../post_name/image_name/ Which isn't working with your plugin or linking of the image file.