I have an animated gif that is supposed to only loop once after it is loaded on the page. The image works fine when viewed by itself in the browser, but once I upload it to the WordPress media library, the image loops continuously (which I don't want). It seems that the file is somehow being modified once it is uploaded by WordPress. Has anyone seen this before and is there anyway to prevent this behavior?
Most probably the file stays the same, it`s just the WordPress decoder ignoring the loop-once mark.
Related
I am using Wordpress and the Elementor theme. When I upload images via the Image Box tool, the image shows for a few days, then at some point down the road, the image file names changes on the server and the image is then broken on the site.
On the server, I can see the original image, and then some sort of image size numbers are added to the file name such as 150x150 or 1026x768).
I understand that Wordpress sometimes resizes and adds images, but I have gone into images and entered "0" in setting to prevent it from doing this. I have also gone into functions.php to remove any re-sizing issues, but there was no code related to resizing there.
That's not Wordpress doing it, it's your theme..
Well it turned out to be a server load issue. The shared server couldn't handle the requests we were making daily, which affected our image uploads. If anyone else has this issue, upgrade to a dedicated server.
I have worked with images/Photoshop for a long time and have never had this problem. Basically, I tried uploading a few images to WordPress and they appear like this:
As you can see, the one highlighted in green turns out fine. However, the other two for some reason come out looking like they are in CMYK mode. The images are RGB and saved for web so I'm not sure what the problem might be. Can anyone help me make sense of this?
Here is the file for one of the images that come out wrong (which is strange because it comes out fine here, maybe it's a strictly WordPress issue?):
I think your comment about CMYK is a red herring. Looking at your screen shot, it appears you may have inadvertently selected the images in the window; your browser has highlighted them to show this, which gives them a slight blue overlay. Try simply reloading the page and opening that window again and see if the issue goes away.
Ive had strange things happen from images that appeared ok in windows photo viewer but when loaded into adobe fireworks the colours go wrong in a similar way.
Im assuming that the pictures display incorrectly on the 'front end' of Wordpress too, therefore i think its some weird .jpg format issue.
If you have just a few images maybe worth manually screen grab and edit screen grab if you have a viewer that works, then save out and try to re-upload to wordpress.
Or batch process the files into a different format, say bump and use a wordpress plugin like insanity that has the option to automatically convert to .jpg, to in effect clean or at least change the image format on upload.
I had the same issue- If you delete the image from wordpress, change the size of the image file to something closer to the size of the page width, that might work. It worked for me. I can't explain why that happens, but it does!
I have Mangento Wordpress integration in my webshop and the blog images aren't being loaded, i tried changing the permissions of folders but it didn't work. Tried a lot of research on this problem but turns out no is having it. Even when i upload the pictures using media uploader it shows up like this (the picture doesn't show) and when click insert, it insert a broken image icon.
Have you uploaded images in correct path as per your website coding, The most issues related to images is that images doesn't exists in their path location that is mentioned in code. You should check the error logs for the same.
I've uploaded my images using the WordPress Media Library. Permissions are set on the Uploads directory. Images are showing up in the proper uploads directory and re-sized correctly. Database is updated correctly and has proper path to images.
When in the media library, I see the thumbnails to the images, but when I click on a thumbnail to view the image, it doesn't display the image at all. Nothing shows up.
I've also tried using these images in an image slider and when i browse the media library, it finds them. I select the image to use in my slider and the thumbnail of the selected image gets displayed fine, but when I view my slider from the web page the image doesn't get displayed there either. Just an empty slider.
I have no plugins activated at all.
I'm using the Bizniz theme purchased off Themeforest.
I've updated WordPress to 3.3.2
Running off my local machine using Apache.
When i copy the image path from the database and paste it into the browser, the image gets displayed fine.
Everything is working except for the images. Any help is really appreciated!
UPDATE:
Ok, i tried switching my theme back to Twenty Eleven and then clicked my media library thumbnails and the images are displaying correctly. So it looks like it has something to do with the Bizniz theme i'm using. Is it possibly a jquery conflict or something? Anyone have any ideas?
Thanks again!
John
Ok, i've found a "temporary" solution to the problem. It seems the issue is with the version of TimThumb (which was v2.8.10 installed with the Bizniz theme).
I ended up using an older version (1.14) in place of this new version and it seems to have resolved the issue.
Although this has resolved the issue, i'm saying "temporary" as i'm not sure what features i might be missing between the two versions and am hoping the new version gets updated to correct this issue.
I am having some problems with browsers displaying images correctly. Most of the browsers are affected except Chrome.
The problem here seems to be the caching problem of images. I am not very sure if this is the case, so I will tell you guys what I did.
My page allows users to upload their photos. So these uploaded photos will be saved into a folder. The user will then use the crop tool to crop their images to their preference, and saved them back to the same folder again. If they chose to use the same name, the image will be overwritten.
Here comes the problem. In Chrome, the browser will show the new cropped images, but not for the other browsers. If the image was renamed, then this won't happen either. Is there anyway to solve this?
Try to add a new guid at the end of the filenames as image.jpg?id=asdf
Change the file name each time you save. You really need caching, but you don't want it to happen at the wrong times. Adding a random number will prevent browsers from caching images at all, prevent http.sys level caching, and prevent any edge caching you implement from working.