Magento showing default images after moving to a new server - magento

I have a magento store with version 1.9 hosted on http://bandsawblades.co.uk
which I move to 1and1 server on a subdomain called
http://test.bandsawbladedirect.co.uk
The images are not showing on the home page on the new server but the images are there in the media folder. For example if you take the following featured product
http://test.bandsawbladedirect.co.uk/index.php/featured-products/mps-3742-bi-metal-air-saw-blade-with-1-2-mm-cutting-depth-and-ober-pneutec-chikago-pneumatic-shank.html
The images are there at
http://test.bandsawbladedirect.co.uk/media/product/7c6/morse-hef-band-saw-blades-1385-mm-54-1-2-long-various-widths-and-tpi-morse-hef-band-saw-blades-1385-mm-54-1-2-long-a4a.jpg
Which I derived from this page
http://bandsawblades.co.uk/index.php/featured-products/mps-3742-bi-metal-air-saw-blade-with-1-2-mm-cutting-depth-and-ober-pneutec-chikago-pneumatic-shank.html
I have set the media folder permission to 777, cleared var folder and set the permission to 777 there too but no luck. Can anyone help me on this?

Be sure that you have given recursive permission to all subfolders under media folder. Flushed Magento Cache as well as Flushing Catalog Images Cache in System>Cache Management. Also try to increase memory_limit parameter in your php.ini file .

Related

Product thumbnail images are not displayed in backend after manual upload in magento 1.9.1

Image thumbnails are not visible in admin.
I have manually uploaded images for products in admin. Images are visible in frontend. But not displayed in admin.
It shows the text "roll over for preview", when rolled over it just become empty.
Changed media folder permission to 777. and I have removed .htaccess file from /media folder too...
Plz see the image.
But the thumbnails are visible for existing products.
This is the existing product page.
Try This below Solution
Open up the following file:
lib/Varien/File/Uploader.php
Find this line :
chmod($destinationFile, 0640);
Replace it with this line:
chmod($destinationFile, 0777);
This can be caused by wrong permissions set to uploaded files.
Open lib/Varien/File/Uploader.php and make sure following permission are set:
Around line 219:
chmod($destinationFile, 0666);
Around line 541:
if (!(#is_dir($destinationFolder) || #mkdir($destinationFolder, 0777, true))) {
Note: This issue will also be fixed by applying patch SUPEE-7405 v1.1
increase your memory limit from php.ini or you can ask to your server support
memory_limit = 512M
no need to clear magento cache
add below code in php.ini file on root
memory_limit = 512M
in admin panel go to admin->system->cache management and click Flush Catalog Images Cache

Magento Product images broken

my website Teentees few days back the site works normally. after some days some product images are broken. so i flushed cache storage, magento cache, and image cache. after that all product images are gone in frontend. how to resolve this
Provide wrtieable (0777) recusrive permission on media folder on root.
As Currently images from your site giving 404 error:
http://teentees.in/media/catalog/product/t/t/ttrncp1507105_1.jpg
Also Please check .htaccess file in media folder. If it is exist, try to rename that.

Product images no updating in Magento, staying as watermark

Having a bit of a weird bug in Magento that I can't quite figure out.
When trying to update product images in admin the images don't update on the frontend, instead the default 'no image' watermark appearing instead still.
What is odd though is that when I select 'Base image', 'Small image' & 'Thumbnail' then save the page refreshes and then only the thumbnail option is selected.
Not really sure what is causing this but to help solve it I have already done the following with no success:
Changed /media permissions to 777 recursively
Changed /media permissions to 755 recursively
Renamed .htaccess in /media
And after each of the above I have cleared all caches and restarted the server (just to be sure).
Also, /media is owned by www-data and PHP memory limit is 512MB (is that good?)
The site is Magento 1.9 CE on AWS ~100k products.
Thanks in advance for any help it's greatly appreciated!
You can set store scope in product page in admin panel and check for images and its options.

Product images are not visible on listing page as well as detail page

In my magento site product images are not visible.
I have images for all the products uploaded and set to Base, small and thumbnail images.
My media folder permission is 777.
Still I am getting error like this
NetworkError: 404 Not Found - http://dev.myproject.com/media/catalog/product/cache/1/small_image/250x300/
4e8686d859209b8b568b3ce08d7279f7/A/T/ATCEAR-9_2.jpg
in Firefox console.
This folder small_image is not at the specified location.
least placeholder images are also not loading.
I can not run <?php echo phpinfo(); ?> in root of site(I tried this but got a blank page).
So I do not have information about gd library exists or not?
What may be wrong?
Try to clear your all type of cache (var/cache, Image cache) . So when you clear your cache memory then magento will create cache again that you visited products images. Image cache is located at your media directory, In your posted link above
NetworkError: 404 Not Found - http://dev.myproject.com/media/catalog/product/**cache**/1/small_image/250x300/
4e8686d859209b8b568b3ce08d7279f7/A/T/ATCEAR-9_2.jpg
You can see the cache directory. You can delete that directly or from magento admin section, by visiting admin section--> System--> Cache management--> select all cache then delete.
Then check again .And make sure your images are exist first..

Magento 1.4.2 not displaying/saving product images on frontend & backend

My Magento 1.4.2 site suddenly developed the following problem:
When uploading product images, the images appear to have successfully uploaded & are visible when I rollover the image but as soon as I save the image 'disappears' and is not saved to the media subfolder. Hence it is not displayed. The permissions on the folders are set to writeable. I have cleared the cache; re-indexed stock-status, product flat data...; renamed media/.htaccess; renamed php.ini.sample to php.ini & changed memory_limit from 64M to 512M.
The problem persists. Any ideas? Thanks
Is it possible that you've updated Prototype to version 1.7? If so, you'll have to change foo.toJSON() calls in js/mage/adminhtml/product.js to Object.toJSON(foo).

Resources