After uploading images in the magento product is unable to show - magento

i encountered a really weird problem in my website. If i am adding a product with images then it failed to load my website completely and also the product is not showing properly. My images and media directory permission are 755.Any solution for this?

Try to rename .htaccess file within magento/media/ folder and check once again.
Hope it would help.
For more check this link -
http://magentomaster.wordpress.com/2013/10/11/magento-product-image-not-showing-on-front-end/

Related

magento file upload not working

I have this odd situation. When creating (or updating) a product in the images section whenever I select a file (or multiple files) the list the selected files doesn't appear therefore I can't upload any images to a product. I don't have ANY errors in the console or in the log and the most odd is that when running the code on a localhost it works. All the required folders on the server exists and they are writable. Any ideas on what could be the reason?
Please check Flash browser plugin working. It's should be installed and enabled.
ok, guys, I found the problem. It easy at it seems took me a lot of time to realize that it's only working when accessing the website with www

Magento wysiwyg image uploader not working

I get the message "directory not writable" when trying to upload images into a normal cms page.
I have seen this before so I created a wysiwyg folder inside the media folder and chmod it to 777.
The images now upload but they dont appear in the wysiwyg folder on the backend. So I cant pick any images to inset into a page.
I tried copying the js folder from the original install folder, and it still doesn't work.
Any ideas?
Thanks
Check whether there is a folder named wysiwyg in media folder.
If no, then create /media/wysiwyg folder in magento installation folder and chmod 777.
If the problem still persists, then open the site in Firefox browser and activate firebug while opening the site.
Click on console and reload the page.
Now try to upload image. If there is some js error in console of browser, then download same version of magento you have, and replace the js folder from the download into your Magento installation and come back to minification later on.
Note: create a backup of your current js folder, just in case. Delete it once you have confirmed the fix works.

Magento Image upload missing?

I'm having some issues with a Magento install 1.7.0.2. We recently moved servers and now the image upload option on newsletters and CMS pages are not working. (Product images are working fine).
Media folder is set for 777 permissions as well as subfolders.
I am getting this when trying to add an image:
http://i.imgur.com/UllpyMI.png
The create folder button also does nothing, has anyone come across this before or know a solution?
Thanks!
Are you sure it is able to read the /media/wysiwyg directory?
Have you set the base URLs correctly under System / Web?
Have you copied over the js-directory?
Seems Javascript compression in Magento was the issue. Disabling compression made this work! Don't know why.

Magento product image not displaying in back-end as well as front-end

I'm using latest Community Edition of Magento 1.7.0.2 in my localhost(XAMPP-Server).
I'm facing the problem while uploading a product image. Images not showing up in back-end as well as front-end.
Any help ? thanks in advance..!!!
Delete the cache, rebuild the indexes and make sure your media folder is writable.
Rename .htaccess file to .htaccess-old in media directory of your Magento root.
This will solve your problem.

Can't download files from the downloadable products folder directly from the product page

I've created a few downloadable products and added an mp3 file as the product.
Now instead of going through the checkout to download the file i wanted the user to be able to do it on the products page in view.phtml by clicking on a link
The problem i have is that i can't seem to download files which are in this downloadable folder
media/downloadable/files/links/t/o/toast_to_the_dead_-_immortal_technique.mp3
If i move that track to media/filename.mp3 ..or even in the wysiwyg folder then i can download it using my script. I've checked the file permissions etc and they're fine so im stuck as to why i can't download my files.
Does anyone know? or is there a way i can change the folder from downloadable to something else, as all i need downloadable products for is music files.
Cheers
Edit:
I should also add that i am getting the download box to save the file, with the correct file name and path, its just the file is 523 bytes, im using the code below to get the filepath
$mediaUrl = Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA);
$_linkpath = $mediaUrl."downloadable/files/links".$_link->getLinkFile();
If i were to change the link path to $mediaUrl."filename.mp3" etc then it would download..so seems to me that its the downloadable folder thats causing the problem?
Nevermind I've solved this, I just changed $_linkpath to
$_linkpath = "media/downloadable/files/links".$_link->getLinkFile();
The full url was causing the problem

Resources